From cb1b19cfba20be4f6c25f6b4ed7c73a6c538e2cf Mon Sep 17 00:00:00 2001 From: Martin Bornhold Date: Tue, 4 Oct 2016 12:44:03 +0200 Subject: [PATCH] tests: Fix infinite loop. --- rhodecode/tests/vcs/test_vcsclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rhodecode/tests/vcs/test_vcsclient.py b/rhodecode/tests/vcs/test_vcsclient.py index 95878339..1ba25f51 100644 --- a/rhodecode/tests/vcs/test_vcsclient.py +++ b/rhodecode/tests/vcs/test_vcsclient.py @@ -45,7 +45,7 @@ def test_vcs_connections_have_a_timeout_set(pylonsapp, short_timeout): proxy_objects = [] with pytest.raises(TimeoutError): # TODO: johbo: Find a better way to set this number - while xrange(100): + for number in xrange(100): server = create_vcsserver_proxy(server_and_port) server.ping() proxy_objects.append(server)