actually add tests
authorBrian Warner <warner@lothar.com>
Thu, 30 Nov 2006 23:23:01 +0000 (16:23 -0700)
committerBrian Warner <warner@lothar.com>
Thu, 30 Nov 2006 23:23:01 +0000 (16:23 -0700)
allmydata/test/__init__.py [new file with mode: 0644]
allmydata/test/test_client.py [new file with mode: 0644]
allmydata/test/test_queen.py [new file with mode: 0644]

diff --git a/allmydata/test/__init__.py b/allmydata/test/__init__.py
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/allmydata/test/test_client.py b/allmydata/test/test_client.py
new file mode 100644 (file)
index 0000000..1c1c662
--- /dev/null
@@ -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 (file)
index 0000000..f931370
--- /dev/null
@@ -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()