Skip to content

Commit

Permalink
solves ORM creation warnings for specific test #48
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldcampbelljr committed Jan 23, 2024
1 parent 951d2d1 commit a119508
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/test_pipestat.py
Original file line number Diff line number Diff line change
Expand Up @@ -1022,9 +1022,10 @@ def absolutize_file(f: str) -> str:
def test_manager_has_correct_status_schema_and_status_schema_source(
schema_file_path, exp_status_schema, exp_status_schema_path, backend_data
):
psm = SamplePipestatManager(schema_path=schema_file_path, **backend_data)
assert psm.cfg[STATUS_SCHEMA_KEY] == exp_status_schema
assert psm.cfg[STATUS_SCHEMA_SOURCE_KEY] == exp_status_schema_path
with ContextManagerDBTesting(DB_URL):
psm = SamplePipestatManager(schema_path=schema_file_path, **backend_data)
assert psm.cfg[STATUS_SCHEMA_KEY] == exp_status_schema
assert psm.cfg[STATUS_SCHEMA_SOURCE_KEY] == exp_status_schema_path


@pytest.mark.skipif(SERVICE_UNAVAILABLE, reason="requires service X to be available")
Expand Down

0 comments on commit a119508

Please sign in to comment.