Files
whipper-gui/whipper/test/test_program_sox.py
JoeLametta b6fb7e8a86 Solve all flake8 warnings (#163)
Whipper is now fully PEP8 compliant.
Revised version which includes all the changes suggested by Freso.
2017-05-31 23:09:36 +02:00

15 lines
374 B
Python

# -*- Mode: Python; test-case-name: whipper.test.test_program_sox -*-
import os
from whipper.program import sox
from whipper.test import common
class PeakLevelTestCase(common.TestCase):
def setUp(self):
self.path = os.path.join(os.path.dirname(__file__), 'track.flac')
def testParse(self):
self.assertEquals(0.800018, sox.peak_level(self.path))