mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01:00
Guard TwistedCommandsTestCase against not having twisted.
This commit is contained in:
parent
c0eb527117
commit
8fa457ec3a
@ -31,13 +31,14 @@
|
|||||||
|
|
||||||
from test import *
|
from test import *
|
||||||
|
|
||||||
import twistedDrivers
|
try:
|
||||||
|
import twistedDrivers
|
||||||
class TwistedCommandsTestCase(PluginTestCase):
|
class TwistedCommandsTestCase(PluginTestCase):
|
||||||
plugins = ('TwistedCommands',)
|
plugins = ('TwistedCommands',)
|
||||||
def testDict(self):
|
def testDict(self):
|
||||||
self.assertNotError('dict strike')
|
self.assertNotError('dict strike')
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user