Skip to content

Commit 0bb6656

Browse files
authored
gitignore update and update tests for multithread search (spotDL#1398)
* Add test coverage file to gitignore Also remove old .cache * Change tests to run with 1 search thread
1 parent 65ae402 commit 0bb6656

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ dist
4848
# Tox
4949
.tox/
5050

51-
# Cache
52-
.cache
51+
# Test Coverage
52+
.coverage

tests/test_entry_point.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def test_download_an_album(capsys, patch_dependencies, monkeypatch):
8585
[
8686
"dummy",
8787
"https://open.spotify.com/album/2YMWspDGtbDgYULXvVQFM6?si=gF5dOQm8QUSo-NdZVsFjAQ",
88+
"--search-threads=1",
8889
],
8990
)
9091

@@ -109,6 +110,7 @@ def test_download_a_playlist(capsys, patch_dependencies, monkeypatch):
109110
[
110111
"dummy",
111112
"https://open.spotify.com/playlist/0slbokxiWCo9egF9UhVmmI",
113+
"--search-threads=1"
112114
],
113115
)
114116

0 commit comments

Comments
 (0)