mousecloak
0132067a29
Fix @unittest.skipIf annotations to ignore only win32
2022-01-07 21:29:44 -08:00
Andrew Rogl
1ec87a3bdd
pyupgrade beetsplug and tests
...
All tests working
More tidy up to be done
2021-08-26 19:12:51 +10:00
Adrian Sampson
ea3a6e5fd7
Skip some more tests on Windows
...
We should actually fix these, I suppose!
2021-08-21 13:35:28 -04:00
xarph
02aa6191c1
rename --force to --yes in play plugin
...
fix some pep8 goo
2017-04-19 10:51:44 -07:00
xarph
ffcaf33845
add -f argument to play command
2017-04-18 15:30:24 -07:00
Adrian Sampson
e5e710033c
Remove old test for misspelled config option
...
See 6b9d766 , which removed the option.
2017-01-07 17:19:02 -05:00
Adrian Sampson
a88682e7bb
Undo from _common import unittest indirection
...
This was a vestige from when we used to need the unittest2 library for pre-2.7
compatibility. Now that we require Python 2.7, we aren't using that library
and this indirection wasn't doing any good.
2016-11-26 18:46:44 -05:00
Johnny Robeson
7a2bdf502f
s/utf8/utf-8/ in all encoding/decoding contexts
...
This matches up with the python documentation.
2016-09-06 23:10:24 -04:00
Johnny Robeson
d41949d326
close files we open, but forgot to close
...
This fixes all the obvious `ResourceWarning`s seen in the tests
2016-08-09 01:15:28 -04:00
xarph
9fb763e151
fix bug where $args would be included in the command output if $args was
...
set in config but -A or --args was left off the beet play command.
2016-07-26 15:41:45 -07:00
Jesse Weinstein
9df4b6dc15
do_test is not actually a test
2016-07-24 22:45:31 -07:00
Jesse Weinstein
92d008b155
Fix overlength lines
2016-07-24 12:11:35 -07:00
Jesse Weinstein
d808316b23
Switch over 3 more files
2016-07-22 23:51:06 -07:00
Johnny Robeson
ffa46a185c
bytestring normalization
...
Make sure many/most strings that touch the filesystem are
converted explicitly to bytestrings rather than implictly.
2016-06-13 05:39:09 -04:00
Johnny Robeson
6745759ea5
open even more files in binary mode
...
* play plugin
* smartplaylist plugin
2016-06-13 05:18:33 -04:00
Adrian Sampson
9717940c9b
Cross-platform relative path in test
2016-06-08 23:03:45 -07:00
Johnny Robeson
c52394c499
fix the rest of b'__main__':
2016-05-30 01:11:37 -04:00
Adrian Sampson
e54c7eec3d
Standardize __future__ imports without parentheses
...
Since the list is short enough now, we don't need parentheses for the line
wrap. This is a little less ugly.
2016-02-28 15:03:51 -08:00
Peter Kessen
07a225992d
Removed unicode_literals from test_play
2016-02-28 13:24:13 +01:00
Jesse Weinstein
7370cdfd39
Add test for backwards compat
2016-01-06 01:34:52 -08:00
nath@laptop
42ef57f571
play: Fix typo treshold -> threshold
...
My bad, rebased before I pushed and forgot to check the tests after the rebase
2016-01-06 09:49:19 +01:00
Jesse Weinstein
6ba92be18d
Add std license header
2016-01-03 23:34:16 -08:00
Jesse Weinstein
875876fd1d
flake8 fixes
2016-01-03 16:50:17 -08:00
Jesse Weinstein
dfce9e19aa
Fix tests due to change in default command behavior
2016-01-03 16:50:17 -08:00
Jesse Weinstein
4d55c5bf7e
Do patching in setUp
2016-01-03 16:50:17 -08:00
Jesse Weinstein
989b4719a6
Rearrange test_play.py to minimize duplication
2016-01-03 16:50:17 -08:00
Jesse Weinstein
7f372a6a59
Add last 2 tests -- 100% line coverage
2016-01-03 16:50:17 -08:00
Jesse Weinstein
4a1a70e23d
add 3 more tests
2016-01-03 16:50:17 -08:00
Jesse Weinstein
6ad0c8a490
Add album option test
2016-01-03 16:50:17 -08:00
Jesse Weinstein
a47de98653
add relative_to test
2016-01-03 16:50:17 -08:00
Jesse Weinstein
6b49b0ff23
add test for $args
2016-01-03 16:50:17 -08:00
Jesse Weinstein
3ad02e1a74
Remove duplicate code
2016-01-03 16:50:17 -08:00
Jesse Weinstein
362d625f69
add test for --args option
2016-01-03 16:50:17 -08:00
Jesse Weinstein
d15b996dc4
Verify that the generated playlist contains the path to the item
2016-01-03 16:50:17 -08:00
Jesse Weinstein
3807d4fc57
fix flake8 warnings
2016-01-03 16:50:17 -08:00
Jesse Weinstein
25495d675c
Add minimal (no asserts) test for play plugin
2016-01-03 16:50:17 -08:00