SEBA-405 Update mcord profile to use synchronizer library;
Remove obsolete tests
Change-Id: Ie0d7bcc2820f006f87e242406aaef7442c76d497
diff --git a/xos/synchronizer/mcord-synchronizer.py b/xos/synchronizer/mcord-synchronizer.py
index f9ea235..205bd4a 100644
--- a/xos/synchronizer/mcord-synchronizer.py
+++ b/xos/synchronizer/mcord-synchronizer.py
@@ -18,9 +18,8 @@
# This imports and runs ../../xos-observer.py
-import importlib
import os
-import sys
+from xossynchronizer import Synchronizer
from xosconfig import Config
base_config_file = os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + '/config.yaml')
@@ -31,7 +30,4 @@
else:
Config.init(base_config_file, 'synchronizer-config-schema.yaml')
-observer_path = os.path.join(os.path.dirname(os.path.realpath(__file__)),"../../synchronizers/new_base")
-sys.path.append(observer_path)
-mod = importlib.import_module("xos-synchronizer")
-mod.main()
+Synchronizer().run()