This commit is contained in:
@@ -25,8 +25,8 @@ class FakeAdjustable(Adjustable):
|
||||
return value
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def clean_registry():
|
||||
instances.cache_clear()
|
||||
def clean_registry(monkeypatch):
|
||||
monkeypatch.setattr('slic.utils.registry.instances', lambda _: [])
|
||||
|
||||
def test_snapshot_excludes_internal_by_default():
|
||||
visible = FakeAdjustable("vis_id", "visible", False)
|
||||
|
||||
Reference in New Issue
Block a user