Skip to content

Commit 7eb752a

Browse files
committed
fix(tests): update test cases
1 parent 63e9270 commit 7eb752a

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ lint: ## check style with flake8
5252
black snapchat_dl tests
5353

5454
test: clean-test ## run tests quickly with the default Python
55-
pytest tests --cache-clear
55+
pytest tests -s --cache-clear
5656

5757
test-all: clean-test ## run tests on every Python version with tox
5858
pytest tests --cache-clear

tests/mock_data/batch_file.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
username1
22
user.name2
3-
23
43
user_name

tests/test_snapchat_dl.py

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

4949
def test_invalid_username(self):
5050
"""Test snapchat_dl Stories are not available."""
51-
with self.assertRaises(UserNotFoundError):
51+
with self.assertRaises(NoStoriesFound):
5252
self.snapchat_dl.download("username")
5353

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

0 commit comments

Comments
 (0)