Skip to content

Commit

Permalink
Update test_1.py
Browse files Browse the repository at this point in the history
  • Loading branch information
akamhy authored Jul 18, 2020
1 parent 0fa2852 commit 55d8687
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def test_save():
"www.w3schools.com",
"www.youtube.com"
]

url1=random.choices(url_list)
x = random.randint(0, len(url_list)-1)
url1 = url_list[x]
target = waybackpy.Url(url1, "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1944.0 Safari/537.36")
archived_url1 = target.save()
assert url1 in archived_url1
Expand Down

0 comments on commit 55d8687

Please sign in to comment.