Fix multiple client test

This commit is contained in:
Dieter Verhelst 2019-03-12 12:52:12 +01:00
parent 020766632d
commit 5a082be8a2

View File

@ -42,4 +42,4 @@ def test_list_backups(host, server):
command = host.run("bash /usr/local/bin/borg-backup list") command = host.run("bash /usr/local/bin/borg-backup list")
assert command.rc == 0 assert command.rc == 0
assert command.stderr == '' assert command.stderr == ''
assert re.match("Archives on %s :\n[0-9]{8}-[0-9]{4}.*" % server, command.stdout) is not None assert "Archives on %s :\n2" % server in command.stdout