refactor: Update exception handling parameters in context managers for consistency
This commit is contained in:
@@ -11,9 +11,15 @@ def root_window():
|
||||
@pytest.fixture
|
||||
def ui_manager(root_window):
|
||||
class DummyLogger:
|
||||
def debug(self, *a, **k): pass
|
||||
def warning(self, *a, **k): pass
|
||||
def error(self, *a, **k): pass
|
||||
def debug(self, *_args, **_kwargs):
|
||||
pass
|
||||
|
||||
def warning(self, *_args, **_kwargs):
|
||||
pass
|
||||
|
||||
def error(self, *_args, **_kwargs):
|
||||
pass
|
||||
|
||||
return UIManager(root_window, DummyLogger())
|
||||
|
||||
def test_parse_dose_history_for_saving_bullet_and_delete(ui_manager):
|
||||
|
||||
Reference in New Issue
Block a user