Skip to content

Commit 65e9de5

Browse files
committed
fixing the ssh test assertion
1 parent f8c2f25 commit 65e9de5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/integration/test_unit.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,9 @@ async def test_ssh(event_loop):
138138
model.block_until(lambda: (machine.status == 'running' and
139139
machine.agent_status == 'started')),
140140
timeout=480)
141+
141142
output = await unit.ssh("echo test")
142-
assert(output == "test")
143+
assert 'test' in output
143144

144145

145146
@base.bootstrapped

0 commit comments

Comments
 (0)