tahoe-lafs/src/allmydata/test/test_introducer_and_vdrive.py

16 lines
446 B
Python
Raw Normal View History

2006-11-30 23:23:01 +00:00
from twisted.trial import unittest
from foolscap.eventual import flushEventualQueue
2006-11-30 23:23:01 +00:00
from allmydata import introducer_and_vdrive
from allmydata.util import testutil
2006-11-30 23:23:01 +00:00
class Basic(testutil.SignalMixin, unittest.TestCase):
2006-12-01 03:20:00 +00:00
def test_loadable(self):
q = introducer_and_vdrive.IntroducerAndVdrive()
d = q.startService()
d.addCallback(lambda res: q.stopService())
d.addCallback(flushEventualQueue)
return d