From bcede77e45e7a4388dfcc29e5aac33593cceec66 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Fri, 20 Nov 2009 10:04:40 +0100 Subject: [PATCH] fix a flaky test --HG-- branch : trunk --- testing/pytest/dist/test_gwmanage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/pytest/dist/test_gwmanage.py b/testing/pytest/dist/test_gwmanage.py index 1c288be70..2fc80f959 100644 --- a/testing/pytest/dist/test_gwmanage.py +++ b/testing/pytest/dist/test_gwmanage.py @@ -82,7 +82,7 @@ class TestGatewayManagerPopen: call = hookrecorder.popcall("pytest_gwmanage_rsyncstart") assert call.source == source assert len(call.gateways) == 1 - assert hm.group["1"] == call.gateways[0] + assert call.gateways[0] in hm.group call = hookrecorder.popcall("pytest_gwmanage_rsyncfinish") class pytest_funcarg__mysetup: