Commit 6b4c5054 by John Chodera (MSKCC)

Slowing down rapid URL retrievals for nosetests.

parent def30674
...@@ -30,6 +30,8 @@ def remove_chain_indices_and_verify(pdbid, chain_indices_to_remove, expected_cha ...@@ -30,6 +30,8 @@ def remove_chain_indices_and_verify(pdbid, chain_indices_to_remove, expected_cha
# Check to make sure asserted chains remain. # Check to make sure asserted chains remain.
chain_ids_remaining = [c.id for c in fixer.topology.chains()] chain_ids_remaining = [c.id for c in fixer.topology.chains()]
assert_list_equal(chain_ids_remaining, expected_chain_ids_remaining) assert_list_equal(chain_ids_remaining, expected_chain_ids_remaining)
# Slow down to prevent rapid URL retrievals
time.sleep(1)
def test_removechain_indices(): def test_removechain_indices():
remove_chain_indices_and_verify('4JSV', [], ['B', 'D', 'A', 'C', 'B', 'A']) remove_chain_indices_and_verify('4JSV', [], ['B', 'D', 'A', 'C', 'B', 'A'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment