Added more testing for emf
This commit is contained in:
parent
445ec23b8e
commit
4242ed38be
1 changed files with 11 additions and 0 deletions
11
python_apps/media-monitor2/tests/test_emf.py
Normal file
11
python_apps/media-monitor2/tests/test_emf.py
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
import unittest
|
||||||
|
|
||||||
|
from media.metadata.process import global_reader
|
||||||
|
import media.metadata.definitions as defs
|
||||||
|
defs.load_definitions()
|
||||||
|
|
||||||
|
class TestMMP(unittest.TestCase):
|
||||||
|
def test_sanity(self):
|
||||||
|
m = global_reader.read_mutagen("/home/rudi/music/Nightingale.mp3")
|
||||||
|
self.assertTrue( len(m) > 0 )
|
Loading…
Add table
Add a link
Reference in a new issue