Commit 2d7821b8 authored by David Wilson's avatar David Wilson

tests: test_stream_name: fix non-localhost Docker

parent 08612d4c
......@@ -28,8 +28,11 @@ class SshTest(testlib.DockerMixin, unittest2.TestCase):
username='has-sudo',
password='y',
)
self.assertEquals('ssh.localhost:%s' % (self.dockerized_ssh.port,),
context.name)
name = 'ssh.%s:%s' % (
self.dockerized_ssh.get_host(),
self.dockerized_ssh.port,
)
self.assertEquals(name, context.name)
def test_via_stream_name(self):
context = self.docker_ssh(
......
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