We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 129def1 commit 793d325Copy full SHA for 793d325
1 file changed
openedx_authz/tests/api/test_data.py
@@ -352,6 +352,12 @@ def test_scope_meta_initializes_registries_when_missing(self):
352
class TempScope(ScopeData):
353
NAMESPACE = "temp"
354
355
+ def get_object(self):
356
+ return None
357
+
358
+ def exists(self) -> bool:
359
+ return False
360
361
# Metaclass should have recreated the registries on the class
362
self.assertTrue(hasattr(TempScope, "scope_registry"))
363
self.assertTrue(hasattr(TempScope, "glob_registry"))
0 commit comments