Exemple #1
0
 def test_deregister_nonexistent(self):
     with pytest.raises(PluginNotRegistered):
         ConnectionPluginRegister.deregister("nonexistent_dummy")
Exemple #2
0
 def test_deregister_existing(self):
     ConnectionPluginRegister.deregister("dummy")
     assert len(ConnectionPluginRegister.available) == 1
     assert "dummy" not in ConnectionPluginRegister.available