aboutsummaryrefslogtreecommitdiff
path: root/tests/test_audio.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_audio.py')
-rw-r--r--tests/test_audio.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_audio.py b/tests/test_audio.py
index 7e782cc..7116e2b 100644
--- a/tests/test_audio.py
+++ b/tests/test_audio.py
@@ -90,6 +90,12 @@ class EncodeArgsTests(unittest.TestCase):
def test_wav_is_lossless_pcm(self):
self.assertEqual(_encode_args("wav"), ["-c:a", "pcm_s16le"])
+ def test_ogg_uses_libvorbis(self):
+ self.assertEqual(_encode_args("ogg"), ["-c:a", "libvorbis", "-b:a", config.AUDIO_BITRATE])
+
+ def test_flac_is_lossless(self):
+ self.assertEqual(_encode_args("flac"), ["-c:a", "flac"])
+
class M4bContainerArgsTests(unittest.TestCase):
def setUp(self):