diff --git a/pytest-extension/noxfile.py b/pytest-extension/noxfile.py index e013843..54f599d 100644 --- a/pytest-extension/noxfile.py +++ b/pytest-extension/noxfile.py @@ -17,6 +17,6 @@ def my_integration_tests(session: Session) -> None: path = PROJECT_CONFIG.root / "test" / "integration" base_command = ["poetry", "run"] - pytest_command = ["pytest", "-v", "-s", f"{path}"] + pytest_command = ["pytest", "-v", f"{path}"] command = base_command + pytest_command session.run(*command) diff --git a/pytest-extension/test/integration/pytest_extension_test.py b/pytest-extension/test/integration/pytest_extension_test.py index de4d3a5..51102e2 100644 --- a/pytest-extension/test/integration/pytest_extension_test.py +++ b/pytest-extension/test/integration/pytest_extension_test.py @@ -25,6 +25,12 @@ def test_extension_all_backends(pytester): def db_schema_name() -> str: return TEST_SCHEMA + def test_database_cli_args(backend, database_cli_args): + validate_cli_args(backend, database_cli_args, StdTags.DB, validate_database_std_params) + + def test_bucketfs_cli_args(backend, bucketfs_cli_args): + validate_cli_args(backend, bucketfs_cli_args, StdTags.BFS, validate_bucketfs_std_params) + def test_pyexasol_connection(pyexasol_connection): assert pyexasol_connection.execute(f"SELECT CURRENT_SCHEMA;").fetchval() == TEST_SCHEMA @@ -98,12 +104,6 @@ def test_database_std_params(database_std_params): def test_bucketfs_std_params(bucketfs_std_params): validate_bucketfs_std_params(**bucketfs_std_params, path_in_bucket='test_bucketfs_std_params') - - def test_database_cli_args(backend, database_cli_args): - validate_cli_args(backend, database_cli_args, StdTags.DB, validate_database_std_params) - - def test_bucketfs_cli_args(backend, bucketfs_cli_args): - validate_cli_args(backend, bucketfs_cli_args, StdTags.BFS, validate_bucketfs_std_params) """) pytester.makepyfile(test_code) result = pytester.runpytest('-s', BACKEND_OPTION, BACKEND_ONPREM)