We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e594a6b commit 3b0c476Copy full SHA for 3b0c476
1 file changed
openedx_authz/tests/test_enforcement.py
@@ -14,6 +14,7 @@
14
from ddt import data, ddt, unpack
15
16
from openedx_authz import ROOT_DIRECTORY
17
+from openedx_authz.engine.matcher import check_custom_conditions
18
from openedx_authz.tests.test_utils import (
19
make_action_key,
20
make_library_key,
@@ -59,9 +60,6 @@ def setUpClass(cls) -> None:
59
60
"""Set up the Casbin enforcer."""
61
super().setUpClass()
62
- # pylint: disable=import-outside-toplevel
63
- from openedx_authz.engine.matcher import check_custom_conditions
64
-
65
engine_config_dir = os.path.join(ROOT_DIRECTORY, "engine", "config")
66
model_file = os.path.join(engine_config_dir, "model.conf")
67
0 commit comments