Carl Suster
10d41a1cbb
tests: avoid non-test classes named Test*
...
When using pytest's test collector, any class with a name starting with
Test is collected. If it notices that the class has an `__init__` member
then it skips it with a warning since it's probably a false positive.
This isn't a big deal, but we can avoid warnings like this:
test/test_ui_importer.py:33
beets/test/test_ui_importer.py:33: PytestCollectionWarning: cannot collect test class 'TestTerminalImportSession' because it has a __init__ constructor
class TestTerminalImportSession(TerminalImportSession):
simply by renaming TestX to XFixture.
2019-06-02 16:35:37 +10:00
Adrian Sampson
81b1faa053
inline: Fix a ridiculously subtle flexattr bug
...
As detailed here:
https://github.com/beetbox/beets/issues/2406#issuecomment-274423601
In a *function-style* definition, we didn't properly *un-define* the
values for a given item after each function invocation. So when a field
wasn't defined, it would get the value for the previously-formatted
object instead. It now properly throws a NameError.
2019-06-01 12:28:47 -04:00
Adrian Sampson
cd66c5d752
Link to beet-summarize ( fix #3177 )
2019-06-01 12:03:03 -04:00
Carl Suster
a0c7697353
Merge pull request #3267 from arogl/patch-1
...
Update setup.py to install to a directory rather than egg file
2019-06-01 12:48:07 +10:00
Carl Suster
3161e27226
Merge pull request #3224 from arcresu/confuse
...
confit: replace with a re-export of beetbox/confuse
2019-06-01 12:39:06 +10:00
Carl Suster
1a16537a3f
Merge pull request #3282 from beetbox/arcresu-patch-1
...
Update Python 3 versions for CI
2019-06-01 12:22:15 +10:00
Carl Suster
a04666eea2
Test on Python 3.7 on AppVeyor
2019-06-01 10:54:45 +10:00
Carl Suster
a86b74943a
Update Python 3 versions for Travis
2019-06-01 10:54:30 +10:00
Carl Suster
57d5c77b33
Changelog for #3224
2019-06-01 10:24:15 +10:00
Carl Suster
d2f13bf65c
confit: replace with confuse in tests
2019-06-01 10:13:13 +10:00
Carl Suster
6382c364e2
confit: replace with confuse in plugins
2019-06-01 10:03:41 +10:00
Carl Suster
a82002e6c1
confit: replace with confuse in core beets
2019-06-01 09:51:56 +10:00
Carl Suster
f1c9b11635
confit: depend on new confuse and remove backports
2019-06-01 09:40:48 +10:00
Carl Suster
e2d7780f97
confit: replace with a wrapper around confuse
...
This re-exports all of the confuse module under `beets.util.confit` and
patches in the minimum subset of commits to confit that have not yet
been ported to confuse such that the test suite passes. A warning is
issued when importing from the deprecated namespace.
2019-06-01 09:30:25 +10:00
Adrian Sampson
4fc9e2686b
Merge pull request #3277 from beetbox/arcresu-patch-3
...
Setup path correctly in testall.py
2019-05-30 21:51:14 -04:00
Jack Wilsdon
bc95253566
Setup path correctly in testall.py
...
By comparing `sys.path` as setup by nose vs. testall.py it seems that we
weren't adding the top-level beets directory to the path. The script was
also previously changing the working directory before running the tests.
2019-05-31 11:28:55 +10:00
Adrian Sampson
1da34f26ff
Changelog for #3272
2019-05-30 20:58:30 -04:00
Adrian Sampson
a31294f302
Merge pull request #3272 from dosoe/beets_work_id_2
...
add work, work-disambig and work_id tags
2019-05-30 20:55:24 -04:00
Adrian Sampson
d778a5236b
Move changelog for #3237 to the right release
2019-05-30 20:24:11 -04:00
Adrian Sampson
c82072aa80
Merge pull request #3237 from arcresu/mediafile
...
mediafile: replace with a re-export of beetbox/mediafile
2019-05-30 20:23:17 -04:00
Adrian Sampson
1835422934
Version bump: 1.5.0
2019-05-30 20:08:03 -04:00
Adrian Sampson
2b8a2eb96b
Release date for 1.4.9
2019-05-30 19:32:42 -04:00
Adrian Sampson
2c6efc3127
Changelog for #3278
2019-05-30 19:32:14 -04:00
Adrian Sampson
7499130a2a
Merge pull request #3278 from wisp3rwind/fix-ast-py38
...
functemplate: Adapt ast syntax to PEP570 changes on python3.8
2019-05-30 19:31:09 -04:00
Adrian Sampson
0ad084a706
Slight changelog reorg
2019-05-30 19:27:39 -04:00
Adrian Sampson
ade1df52a2
Use "feature detection" for 3.8 compat ( #3278 )
2019-05-30 18:14:40 -04:00
Dorian Soergel
5f88ec52a5
fetch only one work
2019-05-30 22:34:40 +02:00
Adrian Sampson
99778d9ece
bpd tests: Randomize port number
...
This is a hacky but effective way to work around a problem when running
the tests in parallel where two different test executions want to use
the same port.
2019-05-30 12:02:47 -04:00
Adrian Sampson
a0f326e7b5
Changelog for #3275
2019-05-30 09:11:25 -04:00
Adrian Sampson
e4698a41da
Merge pull request #3275 from beetbox/arcresu-patch-1
...
Make pathlib dependency in tests conditional
2019-05-30 09:08:49 -04:00
wisp3rwind
4ebb118f5f
functemplate: Adapt ast syntax to PEP570 changes on python3.8
2019-05-30 11:20:48 +02:00
Carl Suster
7dfaec664a
Update distro package links
2019-05-30 16:02:07 +10:00
Carl Suster
50b3d273d3
Merge pull request #3276 from beetbox/arcresu-patch-2
...
Make test_random work with setup.py test
2019-05-30 14:56:58 +10:00
Carl Suster
66e6359812
Make test_random work with setup.py test
...
Without this change `python setup.py test` fails to run, since this test was missing a `suite`.
2019-05-30 12:59:16 +10:00
Carl Suster
ece5726567
Make pathlib dependency in tests conditional
...
We already do this in the optional dependency section so this shouldn't cause any problems. It's only used by the `thumbnails` plugin.
2019-05-30 12:47:18 +10:00
Carl Suster
1de894ab83
Remove direct dependency on Mutagen
2019-05-29 09:36:01 +10:00
Carl Suster
48568c0e70
Changelog for #3237
2019-05-29 09:36:01 +10:00
Carl Suster
1289efeeee
mediafile: update docs for MediaFile split
2019-05-29 09:35:14 +10:00
Carl Suster
546bf3af7e
mediafile: import from standalone module
2019-05-29 09:35:14 +10:00
Carl Suster
8f6e5ede1a
mediafile: remove tests
2019-05-29 09:35:14 +10:00
Carl Suster
2a7c27352e
mediafile: bump MediaFile dependency to 0.1.0
...
This version is synchronised to the embedded copy of mediafile released
with Beets v1.4.8.
2019-05-29 09:35:14 +10:00
Carl Suster
8519f02335
mediafile: replace with a wrapper around mediafile
2019-05-29 09:35:14 +10:00
Adrian Sampson
5d5fc09b2b
Merge pull request #3273 from beetbox/no_color
...
Add support for NO_COLOR.
2019-05-28 09:37:08 -04:00
David Logie
899d09fc2d
Add changelog entry for #3273 .
2019-05-28 12:12:50 +01:00
David Logie
0f74173ac2
Add support for NO_COLOR.
2019-05-28 11:57:50 +01:00
Dorian Soergel
f0d96dcadd
replace work_id by mb_workid
2019-05-27 11:59:11 +02:00
Dorian Soergel
76e754de41
flake8
2019-05-27 11:03:25 +02:00
Dorian Soergel
f72ef0d563
newline snuck in there
2019-05-27 10:55:12 +02:00
Dorian Soergel
7ebcda0c3f
revert changes to mediafile
2019-05-27 10:04:54 +02:00
Dorian Soergel
94ef7012cd
update tag mapping to picard 2.1, tag conflict between work and grouping resolved
2019-05-26 15:21:49 +02:00