Commit 7999be3c authored by Yakubov, Sergey's avatar Yakubov, Sergey
Browse files

remove failing test

parent f5234a5e
Loading
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -22,10 +22,3 @@ def test_get_url_forbidden():
    assert "403 Client Error: Forbidden for url: https://toolshed.g2.bx.psu.edu/" in str(excinfo)

def test_get_url_retry_after():
    # This test is not ideal since it contacts an external resource
    # and doesn't acutally verify multiple attempts have been made.
    # responses doesn't mock the right place to fully simulate this.
    url = "https://httpbin.org/status/429"
    with pytest.raises(requests.exceptions.RetryError):
        url_get(url, max_retries=2, backoff_factor=0.01)