soergeld
76ca0549a9
move mocking to setUp
2020-08-09 15:45:58 +02:00
soergeld
72e91d84f2
names
2020-07-14 00:01:22 +02:00
soergeld
ef08fbee0c
correct test for parentwork
2020-07-13 23:01:18 +02:00
soergeld
08c1344639
correct test for parentwork
2020-07-13 22:57:05 +02:00
soergeld
8167870a7f
correct test for parentwork_id_current
2020-07-13 22:52:31 +02:00
soergeld
e3fb243782
parentwork force test doesn't work
2020-07-13 22:44:49 +02:00
soergeld
66bb2adf19
try something
2020-07-13 22:40:34 +02:00
soergeld
ccd44bc57c
complete mocked parentworks
2020-07-13 22:31:51 +02:00
soergeld
ab2d653d82
typo
2020-07-13 22:26:57 +02:00
soergeld
f87f271484
correct mock results of get_work_by_id
2020-07-13 22:22:16 +02:00
soergeld
55995a32cb
correct force check, correct arguments for get_work_by_id
2020-07-13 22:17:24 +02:00
soergeld
df91813609
pep-8
2020-07-13 22:13:49 +02:00
soergeld
a4a9f0daa9
different way of mocking
2020-07-13 22:12:13 +02:00
soergeld
82411c67cf
minor fixes
2020-07-13 21:51:45 +02:00
soergeld
1cb23e5c5c
no hybrid mocking, two classes
2020-07-13 21:48:06 +02:00
soergeld
dba2e2320d
hybrid mocking
2020-07-13 21:41:10 +02:00
soergeld
d71ee6bc31
exchanged tests with and without MB
2020-07-13 21:38:02 +02:00
soergeld
58b11d9d3c
make tests both with MB and without
2020-07-13 21:34:24 +02:00
soergeld
94dd7cee70
unused library
2020-07-13 21:20:18 +02:00
soergeld
2d756df5b7
second try
2020-07-13 21:16:51 +02:00
soergeld
e943486da9
first try at mocking get_work_by_id
2020-07-13 21:11:30 +02:00
Jacob Pavlock
f2e7b3fdd7
remove references to nose
2020-07-07 15:28:38 -07:00
Jacob Pavlock
25c6843c28
classify integration tests in test_parentwork.py
2020-07-07 15:05:21 -07:00
jtpavlock
aedd77317f
Merge pull request #3658 from jtpavlock/integration_tests
...
Add weekly integration test github action
2020-07-06 11:37:46 -05:00
jtpavlock
45abc9ed7a
Clean up code and tests for Genius Lyrics plugin backend ( #3641 )
...
* clean-up code & add tests for genius lyrics backend
* add genius fetch tests
* organize imports: standard lib -> pip -> local
* check in sample genius lyrics page
* fix mock import
* force utf-8 encoding for opened files
* use io.open to force utf-8 encoding w/ python2.7
2020-07-06 08:41:27 -05:00
Jacob Pavlock
06553cc37c
adjust test_lyrics.py to work with integration tests
2020-07-05 21:41:31 -07:00
Jacob Pavlock
17d9477106
tests for applicable genius artist slugging
2020-06-26 19:33:08 -07:00
Mark Trolley
6d41f31309
Rename use_secure to secure and add to changelog
2020-06-08 20:19:19 -04:00
Mark Trolley
22d74a3b8a
feat: support secure Plex connections
2020-06-08 18:05:43 -04:00
Jef LeCompte
9f8bd4cd3f
style: flake8 linting
2020-05-25 20:06:43 -04:00
Jef LeCompte
0c3201930c
feat: added github actions
...
only working with linux for now. exact replica of travis basically.
should probably try to implement the rest of tox or deprecate some
functionality.
2020-05-25 19:35:15 -04:00
Jef LeCompte
10f589d80a
feat: added subsonicupdate tests
2020-05-22 21:23:26 -04:00
stlutz
5d306d6fd9
Remove debugging statement and conform to line length.
2020-05-16 17:48:56 +02:00
stlutz
46143d9762
Remove unnecessary intermediate web request to genius.com when fetching lyrics.
...
The search results already include the correct song page url, making it superfluous to do another request via the /song api just to get it.
2020-05-16 16:28:17 +02:00
Adrian Sampson
1dcfa03b5b
Merge branch 'master' of github.com:beetbox/beets
2020-05-13 08:21:09 -04:00
Adrian Sampson
5db2b4ccaa
Fix new flake8 warnings
2020-05-13 08:20:50 -04:00
soergeld
7c71bb87a2
cleaning up, renaming dup_XXInfo() to copy()
2020-05-08 16:32:12 +02:00
soergeld
d7ed84646e
create method for deepcopy
2020-04-28 14:18:27 +02:00
soergeld
ba2b22cac5
try to correct deepcopy
2020-04-28 12:59:52 +02:00
soergeld
b39ef0b8f9
better deepcopy, docstring, minor improvements
2020-04-28 12:16:19 +02:00
soergeld
eec7994dbe
corrected on deepcopy replacement
2020-04-27 16:16:37 +02:00
soergeld
2bc0027adf
remove some prints, unused libraries, __setitem__ method
2020-04-27 16:08:47 +02:00
soergeld
048b5c2151
remove need for deepcopy, simplify __init__
2020-04-27 15:55:12 +02:00
soergeld
14e1b33839
lines too long
2020-04-27 11:44:51 +02:00
soergeld
805f4e801f
typo in tests
2020-04-27 11:31:39 +02:00
soergeld
f507f04639
reintroduce default arguments, adapt all occurences of TrackInfo and AlbumInfo to the absence of positional arguments
2020-04-27 11:21:13 +02:00
Ashhar Hasan
625e9253c0
Add tests for artist_sort as lyrics search fallback
...
Adjust doc comment to highlight that artist_sort is used as a fallback
2020-04-19 19:19:07 +05:30
lijacky
9ec0d725e5
Changes given feedback on https://github.com/beetbox/beets/pull/3554 and trimmed sample html
2020-04-17 17:14:21 -04:00
lijacky
b7ecf32f28
style changes
2020-04-16 19:06:17 -04:00
lijacky
525202e529
adding genius sample html
2020-04-16 19:06:17 -04:00