Fix test_slap_initialisation: helper not static anymore.

parent 23435825
...@@ -87,8 +87,10 @@ class TestSlap(SlapMixin): ...@@ -87,8 +87,10 @@ class TestSlap(SlapMixin):
""" """
slap_instance = slapos.slap.slap() slap_instance = slapos.slap.slap()
slap_instance.initializeConnection(self.server_url) slap_instance.initializeConnection(self.server_url)
self.assertTrue(slapos.slap.SlapDocument._connection_helper.host in self.server_url) self.assertTrue(
self.assertTrue(slapos.slap.SlapDocument._connection_helper.path in self.server_url) slap_instance._connection_helper.host in self.server_url)
self.assertTrue(
slap_instance._connection_helper.path in self.server_url)
def test_slap_initialisation_wrong_url(self): def test_slap_initialisation_wrong_url(self):
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment