| Index: webrtc/modules/audio_processing/test/py_conversational_speech/test_generation.py
|
| diff --git a/webrtc/modules/audio_processing/test/py_conversational_speech/test_generation.py b/webrtc/modules/audio_processing/test/py_conversational_speech/test_generation.py
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3fc34e399d11c620dfb9ab4b80105118305d6e45
|
| --- /dev/null
|
| +++ b/webrtc/modules/audio_processing/test/py_conversational_speech/test_generation.py
|
| @@ -0,0 +1,20 @@
|
| +#!/usr/bin/env python
|
| +# Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
|
| +#
|
| +# Use of this source code is governed by a BSD-style license
|
| +# that can be found in the LICENSE file in the root of the source
|
| +# tree. An additional intellectual property rights grant can be found
|
| +# in the file PATENTS. All contributing project authors may
|
| +# be found in the AUTHORS file in the root of the source tree.
|
| +
|
| +import unittest
|
| +
|
| +import generate_conversational_tracks
|
| +
|
| +class TestGenerationScript(unittest.TestCase):
|
| +
|
| + def TestMain(self):
|
| + # Exit with error code if no arguments are passed.
|
| + with self.assertRaises(SystemExit) as cm:
|
| + generate_conversational_tracks.main()
|
| + self.assertGreater(cm.exception.code, 0)
|
|
|