Commit 00410e06 by Jérome Perrin Committed by Rafael Monnerat

test: use as example hostname really exists and was intended for this kind of
example (even if I'm not sure it's OK to actually connect)
1 parent 9bc7fc94
...@@ -116,10 +116,10 @@ class TestSlap(SlapMixin): ...@@ -116,10 +116,10 @@ class TestSlap(SlapMixin):
def test_slap_initialisation_hostname(self): def test_slap_initialisation_hostname(self):
# XXX this really opens a connection ! # XXX this really opens a connection !
slap_instance = slapos.slap.slap() slap_instance = slapos.slap.slap()
slap_instance.initializeConnection("") slap_instance.initializeConnection("")
self.assertEqual( self.assertEqual(
slap_instance._connection_helper.slapgrid_uri, slap_instance._connection_helper.slapgrid_uri,
"" ""
) )
def test_registerComputer_with_new_guid(self): def test_registerComputer_with_new_guid(self):
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!