This commit is contained in:
@@ -6,7 +6,6 @@ from slic.utils.shortcut import Shortcut, as_shortcut, shortcuts, Registry
|
|||||||
|
|
||||||
@pytest.fixture(autouse=True)
|
@pytest.fixture(autouse=True)
|
||||||
def reset_shortcuts():
|
def reset_shortcuts():
|
||||||
# Si c’est bien un Registry, il suffit de clear ses données
|
|
||||||
shortcuts._get().clear()
|
shortcuts._get().clear()
|
||||||
yield
|
yield
|
||||||
shortcuts._get().clear()
|
shortcuts._get().clear()
|
||||||
|
|||||||
Reference in New Issue
Block a user