diff --git a/test/test_TwistedCommands.py b/test/test_TwistedCommands.py index b7100d565..4c03f640b 100644 --- a/test/test_TwistedCommands.py +++ b/test/test_TwistedCommands.py @@ -31,13 +31,14 @@ from test import * -import twistedDrivers - -class TwistedCommandsTestCase(PluginTestCase): - plugins = ('TwistedCommands',) - def testDict(self): - self.assertNotError('dict strike') - +try: + import twistedDrivers + class TwistedCommandsTestCase(PluginTestCase): + plugins = ('TwistedCommands',) + def testDict(self): + self.assertNotError('dict strike') +except ImportError: + pass # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: