Skip to content
Permalink
Browse files

test: Skips scanner tags test when there's no mp3 support.

The file order returned by .find is not deterministic which made
testing the first scanner result fail when it happened to be an unsupported
media format (e.g. mp3).
  • Loading branch information...
kingosticks committed Jan 31, 2019
1 parent 7230aff commit 531c090da963ae195c17444b83769d2ba956fbe5
Showing with 3 additions and 0 deletions.
  1. +3 −0 tests/audio/test_scan.py
@@ -45,6 +45,9 @@ def check_if_missing_plugin(self):

def test_tags_is_set(self):
self.scan(self.find('scanner/simple'))

self.check_if_missing_plugin()

self.assert_(self.result.values()[0].tags)

def test_errors_is_not_set(self):

0 comments on commit 531c090

Please sign in to comment.
You can’t perform that action at this time.