[Galago-commits] r2643 - in trunk/galago-python: . src tests
galago-commits at freedesktop.org
galago-commits at freedesktop.org
Thu Mar 30 18:34:55 PST 2006
Author: chipx86
Date: 2006-03-30 18:34:51 -0800 (Thu, 30 Mar 2006)
New Revision: 2643
Modified:
trunk/galago-python/ChangeLog
trunk/galago-python/src/galago.defs
trunk/galago-python/tests/unittests.py
Log:
Updated the defs for the return type change on galago_service_normalize().
Modified: trunk/galago-python/ChangeLog
===================================================================
--- trunk/galago-python/ChangeLog 2006-03-31 00:44:50 UTC (rev 2642)
+++ trunk/galago-python/ChangeLog 2006-03-31 02:34:51 UTC (rev 2643)
@@ -1,3 +1,9 @@
+Thu Mar 30 18:34:30 PST 2006 Christian Hammond <chipx86 at chipx86.com>
+
+ * src/galago.defs:
+ - Updated the defs for the return type change on
+ galago_service_normalize().
+
Wed Mar 29 02:03:32 PST 2006 Christian Hammond <chipx86 at chipx86.com>
* src/galago.defs:
Modified: trunk/galago-python/src/galago.defs
===================================================================
--- trunk/galago-python/src/galago.defs 2006-03-31 00:44:50 UTC (rev 2642)
+++ trunk/galago-python/src/galago.defs 2006-03-31 02:34:51 UTC (rev 2643)
@@ -1042,7 +1042,7 @@
(define-method normalize
(of-object "GalagoService")
(c-name "galago_service_normalize")
- (return-type "const-char*")
+ (return-type "char*")
(parameters
'("const-char*" "username")
)
Modified: trunk/galago-python/tests/unittests.py
===================================================================
--- trunk/galago-python/tests/unittests.py 2006-03-31 00:44:50 UTC (rev 2642)
+++ trunk/galago-python/tests/unittests.py 2006-03-31 02:34:51 UTC (rev 2643)
@@ -38,12 +38,12 @@
self.__checkObject(galago.create_service("dummy-service-2",
"Dummy Service 2"))
-# def testCreateAccount(self):
-# person = galago.create_person("dummy-person-x")
-# service = galago.create_service("dummy-service-x", "Dummy Service")
-# self.failUnless(person != None)
-# self.failUnless(service != None)
-# self.__checkObject(service.create_account(person, "dummy-account"))
+ def testCreateAccount(self):
+ person = galago.create_person("dummy-person-x")
+ service = galago.create_service("dummy-service-x", "Dummy Service")
+ self.__checkObject(person)
+ self.__checkObject(service)
+ #self.__checkObject(service.create_account(person, "dummy-account"))
def __checkObject(self, obj):
self.failUnless(obj != None)
More information about the galago-commits
mailing list