Fix typos

This commit is contained in:
Serene-Arc 2021-03-31 11:07:02 +10:00 committed by Ali Parlakci
parent a170356738
commit 7d69c9a7af
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ def test_get_link(test_url: str, expected_url: str):
('https://gfycat.com/dazzlingsilkyiguana', '808941b48fc1e28713d36dd7ed9dc648'),
))
def test_download_resource(test_url: str, expected_hash: str):
mock_submission = Mock
mock_submission = Mock()
mock_submission.url = test_url
test_site = Gfycat(mock_submission)
resources = test_site.find_resources()

View File

@ -27,7 +27,7 @@ def test_get_link(test_url: str, expected: str):
('https://redgifs.com/watch/springgreendecisivetaruca', '8dac487ac49a1f18cc1b4dabe23f0869'),
))
def test_download_resource(test_url: str, expected_hash: str):
mock_submission = Mock
mock_submission = Mock()
mock_submission.url = test_url
test_site = Redgifs(mock_submission)
resources = test_site.find_resources()