diff options
| author | jvoisin | 2013-04-05 11:44:19 +0200 |
|---|---|---|
| committer | jvoisin | 2013-04-05 11:44:19 +0200 |
| commit | cdf8a1ec837cbc1db83f5d5f59568413de8f05c3 (patch) | |
| tree | 3866497a9b7183e192f538a7b00ebccb886a561c /test | |
| parent | 3689f212cdcc1d44acc287034b88281a962bd3b3 (diff) | |
Add audio fileformat to the testsuite
Diffstat (limited to '')
| -rw-r--r-- | test/test.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/test.py b/test/test.py index ef1c768..278f625 100644 --- a/test/test.py +++ b/test/test.py | |||
| @@ -35,18 +35,15 @@ except ImportError: | |||
| 35 | try: # python-mutagen : audio file format | 35 | try: # python-mutagen : audio file format |
| 36 | import mutagen | 36 | import mutagen |
| 37 | except ImportError: | 37 | except ImportError: |
| 38 | pass # since wr don't have any ogg for now | 38 | FILE_LIST.remove(('clean é.ogg', 'dirty é.ogg')) |
| 39 | #FILE_LIST.remove(('clean.ogg', 'dirty.ogg')) | 39 | FILE_LIST.remove(('clean é.mp3', 'dirty é.mp3')) |
| 40 | FILE_LIST.remove(('clean é.flac', 'dirty é.flac')) | ||
| 40 | 41 | ||
| 41 | try: # file format exclusively managed by exiftool | 42 | try: # file format exclusively managed by exiftool |
| 42 | subprocess.Popen('exiftool', stdout=open('/dev/null')) | 43 | subprocess.Popen('exiftool', stdout=open('/dev/null')) |
| 43 | except OSError: | 44 | except OSError: |
| 44 | pass # None for now | 45 | pass # None for now |
| 45 | 46 | ||
| 46 | #FILE_LIST.remove(('clean é.pdf', 'dirty é.pdf')) | ||
| 47 | #FILE_LIST.remove(('clean é.tar', 'dirty é.tar')) | ||
| 48 | FILE_LIST.remove(('clean é.tar.gz', 'dirty é.tar.gz')) | ||
| 49 | #FILE_LIST.remove(('clean é.tar.bz2', 'dirty é.tar.bz2')) | ||
| 50 | 47 | ||
| 51 | class MATTest(unittest.TestCase): | 48 | class MATTest(unittest.TestCase): |
| 52 | ''' | 49 | ''' |
