Setup and cleanup for each test.
(self)
| 88 | |
| 89 | @pytest.fixture(autouse=True) |
| 90 | def setup(self): |
| 91 | """Setup and cleanup for each test.""" |
| 92 | # Reset the registry before each test |
| 93 | UnifiedCommandRegistry.reset() |
| 94 | self.registry = UnifiedCommandRegistry() |
| 95 | self.help_cmd = HelpCommand() |
| 96 | yield |
| 97 | # Clean up after test |
| 98 | self.registry.clear() |
| 99 | UnifiedCommandRegistry.reset() |
| 100 | |
| 101 | def test_help_text_property(self): |
| 102 | """Test that help_text property returns the correct text.""" |
nothing calls this directly
no test coverage detected