diff --git a/tests/test_usermacros.py b/tests/test_usermacros.py index 1b13080..c464015 100644 --- a/tests/test_usermacros.py +++ b/tests/test_usermacros.py @@ -12,14 +12,6 @@ class DummyNB: for k, v in kwargs.items(): setattr(self, k, v) - def __getitem__(self, key): - # Allow dict-style access for test compatibility - if hasattr(self, key): - return getattr(self, key) - if key in self.config_context: - return self.config_context[key] - raise KeyError(key) - class TestUsermacroSync(unittest.TestCase): def setUp(self):