mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-11 06:43:54 +00:00
actually add tests
This commit is contained in:
parent
efeea5e5e7
commit
798c06dc95
0
allmydata/test/__init__.py
Normal file
0
allmydata/test/__init__.py
Normal file
11
allmydata/test/test_client.py
Normal file
11
allmydata/test/test_client.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
from twisted.trial import unittest
|
||||||
|
|
||||||
|
from allmydata import client
|
||||||
|
|
||||||
|
class Basic(unittest.TestCase):
|
||||||
|
def testLoadable(self):
|
||||||
|
c = client.Client("yumyum", "")
|
||||||
|
c.startService()
|
||||||
|
return c.stopService()
|
||||||
|
|
10
allmydata/test/test_queen.py
Normal file
10
allmydata/test/test_queen.py
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
from twisted.trial import unittest
|
||||||
|
|
||||||
|
from allmydata import queen
|
||||||
|
|
||||||
|
class Basic(unittest.TestCase):
|
||||||
|
def testLoadable(self):
|
||||||
|
q = queen.Queen()
|
||||||
|
q.startService()
|
||||||
|
return q.stopService()
|
Loading…
x
Reference in New Issue
Block a user