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

13 lines
251 B
Python
Raw Normal View History

2006-11-30 23:23:01 +00:00
from twisted.trial import unittest
from allmydata import queen
class Basic(unittest.TestCase):
2006-12-01 03:20:00 +00:00
def test_loadable(self):
2006-11-30 23:23:01 +00:00
q = queen.Queen()
d = q.startService()
d.addCallback(lambda res: q.stopService())
return d