|
|
@@ -60,3 +60,10 @@ class TestRandomFeatureExtractor(unittest.TestCase): |
|
|
|
test_extractor.teardown() |
|
|
|
self.assertTrue(test_extractor.features) |
|
|
|
|
|
|
|
class TestLoudAudioFeatureExtractor(unittest.TestCase): |
|
|
|
"""Test LoudAudioFeatureExtractor""" |
|
|
|
def test_init(self): |
|
|
|
video_source = TestSourceMedia().one_colour_silent_audio() |
|
|
|
test_extractor = extractors.LoudAudioFeatureExtractor(input_files=video_source) |
|
|
|
self.assertTrue(test_extractor) |
|
|
|
|