Commits

Adrian Sampson committed a7739ed

add WMA test file (#75)

Comments (0)

Files changed (12)

test/rsrc/bpm.mp3

Binary file modified.

test/rsrc/date.mp3

Binary file modified.

test/rsrc/full.m4a

Binary file modified.

test/rsrc/full.mp3

Binary file modified.

test/rsrc/full.wma

Binary file added.

test/rsrc/min.m4a

Binary file modified.

test/rsrc/min.mp3

Binary file modified.

test/rsrc/partial.m4a

Binary file modified.

test/rsrc/partial.mp3

Binary file modified.

test/rsrc/space_time.mp3

Binary file modified.

test/rsrc/t_time.m4a

Binary file modified.

test/test_mediafile_basic.py

         'bitdepth': 0,
         'channels': 2,
     },
+
+    'full.wma': {
+        'length': 1.0,
+        'bitrate': 23,
+        'format': 'Windows Media',
+        'samplerate': 44100,
+        'bitdepth': 0,
+        'channels': 2,
+    },
 }
 
 TEST_FILES = {
     'ape': ['full'],
     'wv': ['full'],
     'mpc': ['full'],
+    'wma': ['full'],
 }
 
 class AllFilesMixin(object):
     def test_mpc(self):
         self._run('full', 'mpc')
 
+    def test_wma(self):
+        self._run('full', 'wma')
+
     # Special test for advanced release date.
     def test_date_mp3(self):
         self._run('date', 'mp3')
     def test_mpc(self):
         self._run('full.mpc')
 
+    def test_wma(self):
+        self._run('full.wma')
+
 def suite():
     return unittest.TestLoader().loadTestsFromName(__name__)