Add test case for scanning empty wav files.
This commit is contained in:
parent
4756c639b1
commit
0a32d89bab
BIN
tests/data/scanner/empty.wav
Normal file
BIN
tests/data/scanner/empty.wav
Normal file
Binary file not shown.
@ -214,6 +214,10 @@ class ScannerTest(unittest.TestCase):
|
|||||||
self.scan('scanner/example.log')
|
self.scan('scanner/example.log')
|
||||||
self.assert_(self.errors)
|
self.assert_(self.errors)
|
||||||
|
|
||||||
|
def test_empty_wav_file_is_ignored(self):
|
||||||
|
self.scan('scanner/empty.wav')
|
||||||
|
self.assert_(self.errors)
|
||||||
|
|
||||||
@unittest.SkipTest
|
@unittest.SkipTest
|
||||||
def test_song_without_time_is_handeled(self):
|
def test_song_without_time_is_handeled(self):
|
||||||
pass
|
pass
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user