Skip to content

Commit

Permalink
Sandboxstore: add dependencies in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chaen committed Mar 14, 2024
1 parent 363ae5b commit 9c92c88
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion diracx-routers/tests/jobs/test_sandboxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,13 @@
from diracx.routers.auth.utils import AuthSettings

pytestmark = pytest.mark.enabled_dependencies(
["AuthSettings", "SandboxMetadataDB", "SandboxStoreSettings"]
[
"AuthSettings",
"JobDB",
"JobLoggingDB",
"SandboxMetadataDB",
"SandboxStoreSettings",
]
)


Expand Down
2 changes: 1 addition & 1 deletion diracx-testing/src/diracx/testing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def __init__(self, key):

def __call__(self):
raise NotImplementedError(
f"{self.key} has not been made available to this test!"
f"{self.key} has not been made available to this test! Please add it to pytest.mark.enabled_dependencies"
)


Expand Down

0 comments on commit 9c92c88

Please sign in to comment.