Skip to content

Commit

Permalink
fix(tests): drop schemas in teardown
Browse files Browse the repository at this point in the history
  • Loading branch information
Thinh Nguyen committed Mar 21, 2024
1 parent fc66706 commit 77dc918
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@ def pipeline():
}

if _tear_down:
pipeline.subject.Subject.delete()
pipeline.imaging_report.schema.drop()
pipeline.imaging.schema.drop()
pipeline.scan.schema.drop()
pipeline.session.schema.drop()
pipeline.subject.schema.drop()
pipeline.lab.schema.drop()


@pytest.fixture(scope="session")
Expand Down

0 comments on commit 77dc918

Please sign in to comment.