Zan Dobersek
7c115076b0
Add test coverage for scanning of Ogg files
...
Provide a song1.ogg audio file, converted from the tests/data/scanner/simple/song1.mp3
file, and perform the same test checks on its scanned data that are performed for
song1.mp3. The expected results are the same except for a small difference in the
reported duration.
(cherry picked from commit 61aa28f8a562f0b0722e2b3414677da82588fdb8)
2013-03-30 01:55:33 +01:00
Stein Magnus Jodal
d34ba24cfe
Use bytestrings for the keys of **kwargs dicts
...
Python < 2.6.5rc1 does not work with unicode keys. Fixes #302 .
2013-01-03 10:04:05 +01:00
Stein Magnus Jodal
7f2e2a8faa
scanner: Test invalid date
2012-12-02 15:48:02 +01:00
Stein Magnus Jodal
3473b9c902
scanner: Update test case
2012-12-02 15:45:54 +01:00
Stein Magnus Jodal
6acaa490e9
Make all strings unicode by default ( fixes #224 )
2012-11-13 00:18:47 +01:00
Stein Magnus Jodal
ac60bcdf8e
Fix all flake8 warnings in tests ( #211 )
2012-10-16 14:43:31 +02:00
Thomas Adamcik
1985b4af76
Switch all tests over to from tests import unittest, which will be unittest2 on < 2.7 and plain unittest otherwise
2011-07-31 22:21:34 +02:00
Thomas Adamcik
89104bd326
Add skipped test case for date missing in scanner tests
2011-06-04 01:52:11 +02:00
Thomas Adamcik
f091433a53
Cleanup error feedback
2011-06-04 01:51:44 +02:00
Stein Magnus Jodal
79771d6e2c
Rename data_folder() to path_to_data_dir()
2011-04-07 15:55:03 +02:00
Thomas Adamcik
90fbf69b85
Add albumartistid to scanner
2010-11-02 01:00:00 +01:00
Thomas Adamcik
988ff66c5e
Add musicbrainz support to scanner translator
2010-11-02 00:36:01 +01:00
Thomas Adamcik
8a4dc1033b
Add album-artist support to translator
2010-10-30 20:38:33 +02:00
Thomas Adamcik
52ab538fc4
Minor test cleanup
2010-10-30 20:38:20 +02:00
Thomas Adamcik
ab97f78060
Test all optional translator values
2010-10-28 01:12:20 +02:00
Thomas Adamcik
766c447c71
Refactor translator test
2010-10-28 01:04:18 +02:00
Thomas Adamcik
d9d393ac21
Ensure that scanner does not die on non-existant folders
2010-10-28 00:47:18 +02:00
Thomas Adamcik
2ebaa38ed9
Add other media test and set caps to limit to audio for scanner
2010-10-28 00:40:38 +02:00
Thomas Adamcik
889b8fdb43
Add length to scanner translator
2010-10-27 00:17:03 +02:00
Thomas Adamcik
79887c1988
Add duration to scanner data
2010-10-27 00:15:26 +02:00
Thomas Adamcik
045a5a58c5
Move uri to scanner data
2010-10-26 23:41:12 +02:00
Thomas Adamcik
7e02617422
Move test data in translator test
2010-10-26 23:34:10 +02:00
Thomas Adamcik
9098f3104c
Rename scanner test filename
2010-10-26 23:14:08 +02:00