Commit 3fa5187a authored by Jérome Perrin's avatar Jérome Perrin

tests: remove copy pasted docstring

parent f4c8c60e
......@@ -79,10 +79,6 @@ class TestSlap(SlapMixin):
self.assertEquals(slap_instance._connection_helper.slapgrid_uri, self.server_url)
def test_slap_initialisation_ipv6_and_port(self):
"""
Asserts that slap correctly understand master_url containing
ipv6 and adds brackets if not there.
"""
slap_instance = slapos.slap.slap()
slap_instance.initializeConnection("http://1234:1234:1234:1234:1:1:1:1:5000/foo/")
self.assertEqual(
......@@ -91,10 +87,6 @@ class TestSlap(SlapMixin):
)
def test_slap_initialisation_ipv6_without_port(self):
"""
Asserts that slap correctly understand master_url containing
ipv6 and adds brackets if not there.
"""
slap_instance = slapos.slap.slap()
slap_instance.initializeConnection("http://1234:1234:1234:1234:1:1:1:1/foo/")
self.assertEqual(
......@@ -103,10 +95,6 @@ class TestSlap(SlapMixin):
)
def test_slap_initialisation_ipv6_with_bracket(self):
"""
Asserts that slap correctly understand master_url containing
ipv6 and adds brackets if not there.
"""
slap_instance = slapos.slap.slap()
slap_instance.initializeConnection("http://[1234:1234:1234:1234:1:1:1:1]:5000/foo/")
self.assertEqual(
......@@ -115,10 +103,6 @@ class TestSlap(SlapMixin):
)
def test_slap_initialisation_ipv4(self):
"""
Asserts that slap correctly understand master_url containing
ipv6 and adds brackets if not there.
"""
slap_instance = slapos.slap.slap()
slap_instance.initializeConnection("http://127.0.0.1:5000/foo/")
self.assertEqual(
......@@ -127,10 +111,7 @@ class TestSlap(SlapMixin):
)
def test_slap_initialisation_hostname(self):
"""
Asserts that slap correctly understand master_url containing
ipv6 and adds brackets if not there.
"""
# XXX this really opens a connection !
slap_instance = slapos.slap.slap()
slap_instance.initializeConnection("http://foo.com:5000/foo/")
self.assertEqual(
......
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