Commit 00410e06 authored by Jérome Perrin's avatar Jérome Perrin Committed by Rafael Monnerat

test: use example.com as example hostname

foo.com really exists and example.com was intended for this kind of
example (even if I'm not sure it's OK to actually connect)
parent 9bc7fc94
......@@ -116,10 +116,10 @@ class TestSlap(SlapMixin):
def test_slap_initialisation_hostname(self):
# XXX this really opens a connection !
slap_instance = slapos.slap.slap()
slap_instance.initializeConnection("http://foo.com:5000/foo/")
slap_instance.initializeConnection("http://example.com:80/foo/")
self.assertEqual(
slap_instance._connection_helper.slapgrid_uri,
"http://foo.com:5000/foo/"
"http://example.com:80/foo/"
)
def test_registerComputer_with_new_guid(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