tests: Fix infinite loop.
This commit is contained in:
parent
2279a8a80e
commit
cb1b19cfba
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue