Exemplo n.º 1
0
 def test_same_samplerates(self):
     expected = None
     actual = combine._validate_sample_rates([INPUT_WAV, INPUT_WAV], 'mix')
     self.assertEqual(expected, actual)
Exemplo n.º 2
0
 def test_same_samplerates(self):
     expected = None
     actual = combine._validate_sample_rates([INPUT_WAV, INPUT_WAV], 'mix')
     self.assertEqual(expected, actual)
Exemplo n.º 3
0
 def test_different_samplerates(self):
     with self.assertRaises(IOError):
         combine._validate_sample_rates([INPUT_WAV, INPUT_WAV2], 'mix')
Exemplo n.º 4
0
 def test_different_samplerates(self):
     with self.assertRaises(IOError):
         combine._validate_sample_rates([INPUT_WAV, INPUT_WAV2], 'mix')