File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ lint: ## check style with flake8
52
52
black snapchat_dl tests
53
53
54
54
test : clean-test # # run tests quickly with the default Python
55
- pytest tests --cache-clear
55
+ pytest tests -s - -cache-clear
56
56
57
57
test-all : clean-test # # run tests on every Python version with tox
58
58
pytest tests --cache-clear
Original file line number Diff line number Diff line change 1
1
username1
2
2
user.name2
3
- 23
4
3
user_name
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ def test_class_init(self):
48
48
49
49
def test_invalid_username (self ):
50
50
"""Test snapchat_dl Stories are not available."""
51
- with self .assertRaises (UserNotFoundError ):
51
+ with self .assertRaises (NoStoriesFound ):
52
52
self .snapchat_dl .download ("username" )
53
53
54
54
@mock .patch ("snapchat_dl.snapchat_dl.SnapchatDL._api_response" )
You can’t perform that action at this time.
0 commit comments