Update test_1.py
This commit is contained in:
parent
ddd2274015
commit
d24f2408ee
@ -116,7 +116,7 @@ def test_get_response():
|
|||||||
hdr = { 'User-Agent' : 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'}
|
hdr = { 'User-Agent' : 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'}
|
||||||
req = Request("https://www.google.com", headers=hdr) # nosec
|
req = Request("https://www.google.com", headers=hdr) # nosec
|
||||||
response = waybackpy.Url("https://www.google.com","UA").get_response(req)
|
response = waybackpy.Url("https://www.google.com","UA").get_response(req)
|
||||||
assert response.status == 200
|
assert response.code == 200
|
||||||
|
|
||||||
def test_total_archives():
|
def test_total_archives():
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
|
Loading…
Reference in New Issue
Block a user