Laurent Monin
f892444998
Create a function to parse amazon urls and reduce code redundancy.
...
A test for amazon url parsing was added.
2013-06-30 17:25:15 +02:00
Laurent Monin
4fc84a428b
Remove (now) useless data test file.
2013-06-19 19:27:10 +02:00
Laurent Monin
fdbed3f6c1
Remove fr_FR locale test, too much a requirement.
2013-06-18 12:24:09 +02:00
Lukáš Lalinský
b3f2e99130
Merge remote-tracking branch 'zas/info_dialog2'
...
Conflicts:
picard/tagger.py
2013-06-17 08:20:42 +02:00
Sophist
2c3cb1bf02
Fix format test file
2013-06-11 16:51:26 +01:00
Laurent Monin
6de59d8ee9
Add functions to convert bytes to human readable form.
...
Binary and decimal modes are supported (MB and MiB ie.)
It supports i18n using gettext and locale.
Precision can be modified if needed, by default it is using 1 digit (if needed).
Extensive tests were written, the toughest was to make them work for
both default C locale and fr_FR.UTF-8 locale (ofc it is possible to test for more
locales...). If one locale isn't available on testing system, test is skipped.
fr locale was chosen because decimal point is replaced by a comma and byte units
becomes "octet" units (1.5 MB in english -> 1,5 Mo in french).
2013-06-09 14:23:23 +02:00
Michael Wiencek
d5509680ab
Fix tests
2013-06-09 01:45:18 -05:00
Laurent Monin
b246e4b709
Reduce cover art vs formats test code redundancy.
2013-06-08 00:54:09 +02:00
Laurent Monin
5bc82bfa53
Fix tests for cover art vs formats, they couldn't fail.
2013-06-08 00:45:59 +02:00
Wieland Hoffmann
8415c360af
Fix coverart tests
2012-10-20 12:05:35 +02:00
Michael Wiencek
433606f2d6
Use PyQt's new-style signal syntax
2012-09-08 00:08:45 -05:00
Michael Wiencek
4a60fbf2e6
Add a unit test for lyrics language
2012-08-17 02:48:09 -05:00
Michael Wiencek
d31b4344c1
Don't use _ as a name, try 2
...
I screwed up the last commit.
2012-08-16 05:00:58 -05:00
Michael Wiencek
003e808fbf
Don't use _ as a name
...
Fixes an issue from the previous commit where I used _ as a temp
variable name. It only broke the infodialog, but I'm replacing it
everywhere just to be safe.
2012-08-16 04:39:31 -05:00
Michael Wiencek
07b710f215
Unbreak test_formats
2012-04-11 01:08:45 -05:00
Chad Wilson
abb2dc4cbe
Merge branch 'master' into list_scripting_support
...
Conflicts:
picard/script.py
2012-01-20 01:28:33 +08:00
Chad Wilson
76faa5b8d7
$setlist -> $setmulti (dont refer to internal data structure in name)
2012-01-20 01:07:06 +08:00
Chad Wilson
38061aeda9
Changed to do nothing on an empty splitter; ValueErrors in the log are annoying.
2012-01-20 00:55:30 +08:00
Chad Wilson
cdddc819bc
failUnless -> assert (impending deprecation)
2012-01-20 00:41:58 +08:00
Chad Wilson
4cda132ad1
Add more tests for set and setlist
2012-01-20 00:40:32 +08:00
Wieland Hoffmann
51d2f2e670
fix test_utils
2012-01-16 16:30:15 +01:00
Wieland Hoffmann
12617b2101
test_mbxml: Add missing setting
2012-01-16 16:07:56 +01:00
Chad Wilson
90dc12e19a
Add tests for $copy, $copymerge; improve test for $get.
2012-01-11 00:33:52 +08:00
Chad Wilson
3fac53aea3
Fix tests for release mbxml
2011-08-13 14:54:12 +08:00
Michael Wiencek
43642983a4
Make the "config" argument required for functions in mbxml.py
2011-07-14 14:46:48 -05:00
Lukáš Lalinský
0c029188a2
Primarily use track metadata, recording only as a fallback
2011-05-29 19:59:11 +02:00
Michael Wiencek
720ea96e25
Replace unittests in test_mbxml.py and modify functions in mbxml.py to parse the new XML for tracks (recordings) and releases.
2011-05-19 11:21:21 -05:00
Philipp Wolfer
1567d802c3
Added UI to set preferred release types.
2011-05-13 00:15:39 +02:00
Philipp Wolfer
e442bdac31
Prefer release events with a date and sort release events accordingly.
2010-05-24 23:00:04 +02:00
Philipp Wolfer
552f1640cb
Changed cover art test case to use data > 64kb to test for current bug in mutagen with ASF files.
2010-04-15 23:54:28 +02:00
Philipp Wolfer
08c2cee8df
Added unit test for FLAC cover art
2010-04-12 19:04:34 +02:00
Philipp Wolfer
82d070ad9f
Fixed comment unit tests and fixed loading/saving comments in vorbis, apev2 and mp4.
2010-04-12 18:59:05 +02:00
Philipp Wolfer
d7873c1f1b
Added unit test for ratings
2010-04-12 18:37:44 +02:00
Philipp Wolfer
26e273c612
Updated tests for all formats and tags, excluding ratings.
2010-04-12 01:03:14 +02:00
Philipp Wolfer
55a36ff8e4
Added new tags to format tests.
2010-04-12 00:20:41 +02:00
Philipp Wolfer
d4362e3b56
Added ASF test and cover art test for all formats supporting it.
2010-04-11 23:58:27 +02:00
Philipp Wolfer
ad4cf0e81e
Merged fix for format unit tests, but without making the settings attribute in File._save optional.
2010-04-11 23:38:35 +02:00
Philipp Wolfer
7d1dd3573c
Fixed unittests for replace_win32_incompat, which changed in rev 809.
2010-04-11 23:10:28 +02:00
Philipp Wolfer
49df1fea16
Merged final fix for time rounding and added unit tests.
2010-04-11 23:05:26 +02:00
fatih
3214585efe
Correction to the time rounding fix.
2010-04-09 14:53:29 +02:00
Philipp Wolfer
7d5472093d
Fixed $firstwords script function and added some more scripting test cases.
2010-03-14 21:28:23 +01:00
Philipp Wolfer
de5dafc514
Fixed $truncate scripting function.
2010-03-14 21:02:23 +01:00
Will
cfe5299a76
fixing test cases by making settings to file loading optional
2008-01-22 23:23:09 -05:00
Lukáš Lalinský
f50c19656d
Save embedded images to MP4 files.
2007-06-03 14:33:54 +02:00
Lukáš Lalinský
0e3b1e28f9
Change function $gt(), $gte(), $lt(), $lte() to compare numbers, not strings. ( #2848 )
2007-05-14 18:15:40 +02:00
Lukáš Lalinský
8f22e383e1
Don't display an error on Ogg and FLAC files with no tags.
2007-04-28 12:32:04 +02:00
Lukáš Lalinský
b92e952358
ID3v2.3 frame TDAT should be written in format DDMM, not MMDD. ( #2770 )
2007-04-26 19:37:49 +02:00
Lukáš Lalinský
aa7891eb21
Strip white-space from directory names. ( #2558 )
2007-03-25 14:08:59 +02:00
Lukáš Lalinský
0cee3ce295
Replace Æ with AE in file/directory names. ( #2512 )
2007-03-15 08:23:05 +01:00
Lukáš Lalinský
757a7645f4
Simple mbxml test.
2007-02-24 15:41:02 +01:00