diff options
Diffstat (limited to 'tests/features/environment.py')
-rw-r--r-- | tests/features/environment.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/features/environment.py b/tests/features/environment.py index 0133ab01..349e9dd6 100644 --- a/tests/features/environment.py +++ b/tests/features/environment.py @@ -29,8 +29,8 @@ def before_all(context): ) fixture_dir = os.path.join(context.package_root, "tests/features/fixture_data") - print ("package root:", context.package_root) - print ("fixture dir:", fixture_dir) + print("package root:", context.package_root) + print("fixture dir:", fixture_dir) os.environ["COVERAGE_PROCESS_START"] = os.path.join( context.package_root, ".coveragerc" @@ -123,14 +123,14 @@ def before_all(context): def show_env_changes(env_old, env_new): """Print out all test-specific env values.""" - print ("--- os.environ changed values: ---") + print("--- os.environ changed values: ---") all_keys = set(list(env_old.keys()) + list(env_new.keys())) for k in sorted(all_keys): old_value = env_old.get(k, "") new_value = env_new.get(k, "") if new_value and old_value != new_value: - print ('{}="{}"'.format(k, new_value)) - print ("-" * 20) + print('{}="{}"'.format(k, new_value)) + print("-" * 20) def after_all(context): @@ -181,7 +181,7 @@ def after_scenario(context, scenario): try: context.cli.expect_exact(pexpect.EOF, timeout=15) except pexpect.TIMEOUT: - print ("--- after_scenario {}: kill cli".format(scenario.name)) + print("--- after_scenario {}: kill cli".format(scenario.name)) context.cli.kill(signal.SIGKILL) if hasattr(context, "tmpfile_sql_help") and context.tmpfile_sql_help: context.tmpfile_sql_help.close() |