Skip to content

Commit 767b528

Browse files
committed
fix(test): minor issue with invalid username
1 parent c07871a commit 767b528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_snapchat_dl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_class_init(self):
4646

4747
def test_invalid_username(self):
4848
"""Test snapchat_dl Stories are not available."""
49-
with self.assertRaises(NoStoriesFound):
49+
with self.assertRaises(UserNotFoundError):
5050
self.snapchat_dl.download("username")
5151

5252
@mock.patch("snapchat_dl.snapchat_dl.SnapchatDL._api_response")

0 commit comments

Comments
 (0)