Update test_1.py

This commit is contained in:
akamhy 2020-05-07 15:06:52 +05:30 committed by GitHub
parent 7605b614ee
commit 538afb14e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,10 +73,10 @@ def test_get():
def test_total_archives():
count1 = total_archives("https://en.wikipedia.org/wiki/Python (programming language)", UA=user_agent)
count1 = waybackpy.total_archives("https://en.wikipedia.org/wiki/Python (programming language)", UA=user_agent)
assert count1 > 2000
count2 = total_archives("https://gaha.e4i3n.m5iai3kip6ied.cima/gahh2718gs/ahkst63t7gad8", UA=user_agent)
count2 = waybackpy.total_archives("https://gaha.e4i3n.m5iai3kip6ied.cima/gahh2718gs/ahkst63t7gad8", UA=user_agent)
assert count2 == 0
if __name__ == "__main__":