From 0b925860570edb153a44def490f253bc50f5037e Mon Sep 17 00:00:00 2001 From: TheNetworkGuy Date: Mon, 23 Feb 2026 14:00:13 +0100 Subject: [PATCH] Removed unused code for testing UserMacroSync logic that contained a raise exception. --- tests/test_usermacros.py | 8 -------- 1 file changed, 8 deletions(-) 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):