test: Adjusting tests with the correct timeout
This commit is contained in:
@@ -89,4 +89,4 @@ class TestStealthyFetcher:
|
||||
|
||||
def test_infinite_timeout(self, fetcher):
|
||||
"""Test if infinite timeout breaks the code or not"""
|
||||
assert fetcher.fetch(self.delayed_url, timeout=None).status == 200
|
||||
assert fetcher.fetch(self.delayed_url, timeout=0).status == 200
|
||||
|
||||
Reference in New Issue
Block a user