[conduit/syncml: 7/244] Test test test



commit d8486ec0d42321c732f94df8a9ec5e2ad446021a
Author: John Carr <john carr unrouted co uk>
Date:   Tue Apr 7 06:15:38 2009 -0700

    Test test test
---
 conduit/modules/SyncmlModule/SyncmlModule.py |    4 +++-
 test/python-tests/TestSyncml.py              |    4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/conduit/modules/SyncmlModule/SyncmlModule.py b/conduit/modules/SyncmlModule/SyncmlModule.py
index cdf9675..9d79375 100644
--- a/conduit/modules/SyncmlModule/SyncmlModule.py
+++ b/conduit/modules/SyncmlModule/SyncmlModule.py
@@ -201,5 +201,7 @@ class BluetoothContactsProvider(BluetoothClient, ContactsProvider):
     pass
 
 class SyncmlContactTwoWay(HttpClientProvider, ContactsProvider):
-    pass
+
+    def __init__(self, *args):
+        SyncmlDataProvider.__init__(self, "http://localhost:1234";)
 
diff --git a/test/python-tests/TestSyncml.py b/test/python-tests/TestSyncml.py
index cb6ee20..3664d14 100644
--- a/test/python-tests/TestSyncml.py
+++ b/test/python-tests/TestSyncml.py
@@ -16,8 +16,8 @@ import conduit.utils as Utils
 
 #setup the conduit
 test = SimpleSyncTest()
-sourceW = test.get_dataprovider("SyncmlContactTwoWay")
-sinkW = test.get_dataprovider("FolderTwoWay")
+sourceW = test.get_dataprovider("FolderTwoWay")
+sinkW = test.get_dataprovider("SyncmlContactTwoWay")
 test.prepare(sourceW, sinkW)
 test.set_two_way_policy({"conflict":"ask","deleted":"ask"})
 



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