Guard TwistedCommandsTestCase against not having twisted.

This commit is contained in:
Jeremy Fincher 2003-09-06 07:52:18 +00:00
parent c0eb527117
commit 8fa457ec3a

View File

@ -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: