Fixed networkishness and broke out a test so its name is more appropriate.

This commit is contained in:
Jeremy Fincher 2004-09-08 22:38:52 +00:00
parent 277f0274b8
commit 6526336c1d

View File

@ -101,6 +101,8 @@ class MiscTestCase(ChannelPluginTestCase):
self.failIf(self.irc.getCallback(name).public)
self.assertNotRegexp('list', name)
self.assertRegexp('list --private', name)
def testListDoesNotIncludeNonCanonicalName(self):
self.assertNotRegexp('list Owner', '_exec')
def testListNoIncludeDispatcher(self):
@ -109,6 +111,7 @@ class MiscTestCase(ChannelPluginTestCase):
def testListIncludesDispatcherIfThereIsAnOriginalCommand(self):
self.assertRegexp('list Dict', r'\bdict\b')
if network:
def testVersion(self):
self.assertNotError('version')