[conduit/syncml: 9/244] Test runs (yay for no hanging), but no passes as yet



commit a85e7c03ab3550d1a35ebffdb34727a012299e99
Author: John Carr <john carr unrouted co uk>
Date:   Tue Apr 7 07:18:42 2009 -0700

    Test runs (yay for no hanging), but no passes as yet
---
 conduit/modules/SyncmlModule/SyncmlModule.py |    2 +-
 test/python-tests/TestSyncml.py              |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/conduit/modules/SyncmlModule/SyncmlModule.py b/conduit/modules/SyncmlModule/SyncmlModule.py
index 9d79375..16008ce 100644
--- a/conduit/modules/SyncmlModule/SyncmlModule.py
+++ b/conduit/modules/SyncmlModule/SyncmlModule.py
@@ -140,7 +140,7 @@ class SyncmlDataProvider(DataProvider.TwoWay):
         err = pysyncml.Error()
         self.syncobj.add_change(self.source, enums.SML_CHANGE_DELETE, uid, "", 0, null, pysyncml.byref(err))
 
-    def finish(self):
+    def finish(self, a, b, c):
         self._put_lock.set()
         self._changes = None
 
diff --git a/test/python-tests/TestSyncml.py b/test/python-tests/TestSyncml.py
index ce208dd..3b74c53 100644
--- a/test/python-tests/TestSyncml.py
+++ b/test/python-tests/TestSyncml.py
@@ -3,7 +3,7 @@ import signal
 import os
 import time
 
-server = subprocess.Popen(["syncml-ds-tool", "--sync", "text/x-vcard", "contacts", "contacts", "--http-server", "1234"])
+server = subprocess.Popen(["syncml-ds-tool", "--sync", "text/x-vcard", "Contacts", "contacts", "--http-server", "1234"])
 
 # no way to tell syncml-ds-tool is running :(
 time.sleep(1)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]