def test_same_samplerates(self): expected = None actual = combine._validate_sample_rates([INPUT_WAV, INPUT_WAV], 'mix') self.assertEqual(expected, actual)
def test_different_samplerates(self): with self.assertRaises(IOError): combine._validate_sample_rates([INPUT_WAV, INPUT_WAV2], 'mix')