fix functional tests
[transportpce.git] / tests / transportpce_tests / test_pce.py
index 2c3f330d526b8e45069b557e3146d54d14228c6c..05b23c59da5488d09f59817d46e7d7fe131a555e 100644 (file)
@@ -24,7 +24,7 @@ class TransportPCEtesting(unittest.TestCase):
     odl_process = None
     simple_data = None
     complex_data = None
-    restconf_baseurl = "http://127.0.0.1:8181/restconf"
+    restconf_baseurl = "http://localhost:8181/restconf"
 
     @classmethod
     def _get_file(cls):
@@ -42,7 +42,7 @@ class TransportPCEtesting(unittest.TestCase):
         executable = "../karaf/target/assembly/bin/karaf"
         with open('odl.log', 'w') as outfile:
             cls.odl_process = subprocess.Popen(
-                ["bash", executable], stdout=outfile,
+                ["bash", executable, "server"], stdout=outfile,
                 stdin=open(os.devnull))
 
     @classmethod