[Galago-commits] r2654 - in trunk/galago-python: . tests
galago-commits at freedesktop.org
galago-commits at freedesktop.org
Sun Apr 2 16:00:52 PDT 2006
Author: chipx86
Date: 2006-04-02 16:00:50 -0700 (Sun, 02 Apr 2006)
New Revision: 2654
Modified:
trunk/galago-python/ChangeLog
trunk/galago-python/tests/unittests.py
Log:
Expand on the unit tests just a little bit.
Modified: trunk/galago-python/ChangeLog
===================================================================
--- trunk/galago-python/ChangeLog 2006-04-02 22:56:56 UTC (rev 2653)
+++ trunk/galago-python/ChangeLog 2006-04-02 23:00:50 UTC (rev 2654)
@@ -1,3 +1,8 @@
+Sun Apr 02 16:00:36 PDT 2006 Christian Hammond <chipx86 at chipx86.com>
+
+ * tests/unittests.py:
+ - Expand on the unit tests just a little bit.
+
Thu Mar 30 18:34:30 PST 2006 Christian Hammond <chipx86 at chipx86.com>
* src/galago.defs:
Modified: trunk/galago-python/tests/unittests.py
===================================================================
--- trunk/galago-python/tests/unittests.py 2006-04-02 22:56:56 UTC (rev 2653)
+++ trunk/galago-python/tests/unittests.py 2006-04-02 23:00:50 UTC (rev 2654)
@@ -14,6 +14,7 @@
def tearDown(self):
galago.uninit()
+ self.failIf(galago.is_initted())
class InitTestCase(BaseTestCase):
@@ -43,11 +44,11 @@
service = galago.create_service("dummy-service-x", "Dummy Service")
self.__checkObject(person)
self.__checkObject(service)
- #self.__checkObject(service.create_account(person, "dummy-account"))
+ self.__checkObject(service.create_account(person, "dummy-account"))
def __checkObject(self, obj):
- self.failUnless(obj != None)
- self.failUnless(obj.get_dbus_path() != "")
+ self.failIf(obj == None)
+ self.failIf(obj.get_dbus_path() == "")
def suite():
More information about the galago-commits
mailing list