mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-17 06:00:42 +01:00
Fixed networkishness and broke out a test so its name is more appropriate.
This commit is contained in:
parent
277f0274b8
commit
6526336c1d
@ -101,6 +101,8 @@ class MiscTestCase(ChannelPluginTestCase):
|
|||||||
self.failIf(self.irc.getCallback(name).public)
|
self.failIf(self.irc.getCallback(name).public)
|
||||||
self.assertNotRegexp('list', name)
|
self.assertNotRegexp('list', name)
|
||||||
self.assertRegexp('list --private', name)
|
self.assertRegexp('list --private', name)
|
||||||
|
|
||||||
|
def testListDoesNotIncludeNonCanonicalName(self):
|
||||||
self.assertNotRegexp('list Owner', '_exec')
|
self.assertNotRegexp('list Owner', '_exec')
|
||||||
|
|
||||||
def testListNoIncludeDispatcher(self):
|
def testListNoIncludeDispatcher(self):
|
||||||
@ -109,8 +111,9 @@ class MiscTestCase(ChannelPluginTestCase):
|
|||||||
def testListIncludesDispatcherIfThereIsAnOriginalCommand(self):
|
def testListIncludesDispatcherIfThereIsAnOriginalCommand(self):
|
||||||
self.assertRegexp('list Dict', r'\bdict\b')
|
self.assertRegexp('list Dict', r'\bdict\b')
|
||||||
|
|
||||||
def testVersion(self):
|
if network:
|
||||||
self.assertNotError('version')
|
def testVersion(self):
|
||||||
|
self.assertNotError('version')
|
||||||
|
|
||||||
def testSource(self):
|
def testSource(self):
|
||||||
self.assertNotError('source')
|
self.assertNotError('source')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user