This commit is contained in:
1 parent
aa4df2d0b2
commit
210fb553a1
1 file changed
-1
@@ -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