Skip to content

Commit

Permalink
fix(tests): update invalid user test
Browse files Browse the repository at this point in the history
  • Loading branch information
skyme5 committed Jul 10, 2024
1 parent b17a07e commit 63e9270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_snapchat_dl.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_class_init(self):

def test_invalid_username(self):
"""Test snapchat_dl Stories are not available."""
with self.assertRaises(NoStoriesFound):
with self.assertRaises(UserNotFoundError):
self.snapchat_dl.download("username")

@mock.patch("snapchat_dl.snapchat_dl.SnapchatDL._api_response")
Expand Down

0 comments on commit 63e9270

Please sign in to comment.