From: Brian Warner Date: Thu, 30 Nov 2006 23:23:01 +0000 (-0700) Subject: actually add tests X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~539 X-Git-Url: https://git.rkrishnan.org/vdrive/%22file:/frontends/using.html?a=commitdiff_plain;h=798c06dc95da76b88efcb9600290735e6c576965;p=tahoe-lafs%2Ftahoe-lafs.git actually add tests --- diff --git a/allmydata/test/__init__.py b/allmydata/test/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/allmydata/test/test_client.py b/allmydata/test/test_client.py new file mode 100644 index 00000000..1c1c662d --- /dev/null +++ b/allmydata/test/test_client.py @@ -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() + diff --git a/allmydata/test/test_queen.py b/allmydata/test/test_queen.py new file mode 100644 index 00000000..f9313704 --- /dev/null +++ b/allmydata/test/test_queen.py @@ -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()