def main(self, *args):
    if (not self.no_clear):
        self.clear()
    cli_args = list(args)
    root = local.env['PLASTER_ROOT']
    cli_args += [f'--root={root}']
    folders = ('./plaster', './plaster/scripts')
    include_dirs = ':'.join(folders)
    cli_args += [f'--include_dirs={include_dirs}']
    with local.cwd(root):
        cli_args += [f'--hook_start=./scripts/testing_start.py:test_setup_logs']
        if (not self.debug_mode):
            if (not self.cli_mode):
                cli_args += [f'--ui']
            cli_args += [f'--n_workers', '8']
        if self.integration:
            cli_args += [f'--groups=integration']
        else:
            cli_args += [f'--exclude_groups=integration']
        return self.run_zests_v2(cli_args, self.debug_mode)
def main(self, *args):
    if (not self.no_clear):
        self.clear()
    cli_args = list(args)
    root = local.env['PLASTER_ROOT']
    cli_args += [f'--root={root}']
    folders = ('./plaster', './plaster/scripts')
    include_dirs = ':'.join(folders)
    cli_args += [f'--include_dirs={include_dirs}']
    with local.cwd(root):
        cli_args += [f'--hook_start=./scripts/testing_start.py:test_setup_logs']
        if (not self.debug_mode):
            if (not self.cli_mode):
                cli_args += [f'--ui']
            cli_args += [f'--n_workers', '8']
        if self.integration:
            cli_args += [f'--groups=integration']
        else:
            cli_args += [f'--exclude_groups=integration']
        return self.run_zests_v2(cli_args, self.debug_mode)