mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Change a couple tests so they fail for real reasons instead of fake.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
This commit is contained in:
parent
8a98653d3b
commit
082ee59d32
@ -82,8 +82,8 @@ class OwnerTestCase(PluginTestCase):
|
|||||||
self.assertNotError('enable foo')
|
self.assertNotError('enable foo')
|
||||||
|
|
||||||
def testRename(self):
|
def testRename(self):
|
||||||
self.assertError('rename Admin ignore IGNORE')
|
self.assertError('rename Admin join JOIN')
|
||||||
self.assertError('rename Admin ignore ig-nore')
|
self.assertError('rename Admin join jo-in')
|
||||||
self.assertNotError('rename Admin "capability remove" rmcap')
|
self.assertNotError('rename Admin "capability remove" rmcap')
|
||||||
self.assertNotRegexp('list Admin', 'capability remove')
|
self.assertNotRegexp('list Admin', 'capability remove')
|
||||||
self.assertRegexp('list Admin', 'rmcap')
|
self.assertRegexp('list Admin', 'rmcap')
|
||||||
|
Loading…
Reference in New Issue
Block a user