allow unregistration by name

This commit is contained in:
holger krekel
2010-11-01 09:20:58 +01:00
parent 32ac7a7c6e
commit 53d1cfc3a1
4 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ class TestBootstrapping:
assert pp.getplugin('hello') == a2
pp.unregister(a1)
assert not pp.isregistered(a1)
pp.unregister(a2)
pp.unregister(name="hello")
assert not pp.isregistered(a2)
def test_pm_ordering(self):