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:
James Vega 2009-11-01 19:08:34 -05:00
parent 8a98653d3b
commit 082ee59d32

View File

@ -82,8 +82,8 @@ class OwnerTestCase(PluginTestCase):
self.assertNotError('enable foo')
def testRename(self):
self.assertError('rename Admin ignore IGNORE')
self.assertError('rename Admin ignore ig-nore')
self.assertError('rename Admin join JOIN')
self.assertError('rename Admin join jo-in')
self.assertNotError('rename Admin "capability remove" rmcap')
self.assertNotRegexp('list Admin', 'capability remove')
self.assertRegexp('list Admin', 'rmcap')