From 2fdbd0cfcd5357af0745aae8459d0c05f78a6ae4 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 28 Jan 2019 01:00:34 +0000 Subject: [PATCH] ssh: fix test to match updated log format. --- tests/ssh_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/ssh_test.py b/tests/ssh_test.py index abb25a58..496710b8 100644 --- a/tests/ssh_test.py +++ b/tests/ssh_test.py @@ -57,7 +57,8 @@ class SshTest(testlib.DockerMixin, testlib.TestCase): finally: s = capture.stop() - self.assertTrue("'): debug1: Reading configuration data" in s) + expect = "%s: debug1: Reading configuration data" % (context.name,) + self.assertTrue(expect in s) def test_stream_name(self): context = self.docker_ssh(