Skip to content

Commit

Permalink
✅ Update test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
z1nc0r3 committed Jan 7, 2024
1 parent a35d3c5 commit d8ebf4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/test_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

@pytest.mark.integration
def test_extern_status():
"""Get hosting status of twitter vid"""
"""Get hosting status of twitsave.com"""

HOST = "https://twittervid.com"
HOST = "https://twitsave.com"
response = requests.head(HOST)
assert response.status_code == 200
4 changes: 2 additions & 2 deletions tests/test_url_verification.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
@pytest.mark.unit
def test_domain_valid():
"""Assert the site is equal to twitter.com"""
url = "https://twitter.com/TrollFootball/status/1679583964770754560?s=20"
url = "https://x.com/realmadriden/status/1743790569866821949?s=20"

parsed_url = urlparse(url)

assert parsed_url.hostname == "twitter.com"
assert parsed_url.hostname == "x.com"

0 comments on commit d8ebf4d

Please sign in to comment.