Commit 00410e06 by 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)
1 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):
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!