From 39f3ecec373c170ca2089e5a5503be7b22c62619 Mon Sep 17 00:00:00 2001 From: Karl Kroening Date: Thu, 2 Nov 2017 17:20:31 -0700 Subject: [PATCH] Add tests for other `overwrite_output` parameters --- ffmpeg/tests/test_ffmpeg.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ffmpeg/tests/test_ffmpeg.py b/ffmpeg/tests/test_ffmpeg.py index 2687ede..0372e05 100644 --- a/ffmpeg/tests/test_ffmpeg.py +++ b/ffmpeg/tests/test_ffmpeg.py @@ -102,6 +102,8 @@ def test_stream_repr(): def test_get_args_simple(): out_file = ffmpeg.input('dummy.mp4').output('dummy2.mp4') assert out_file.get_args() == ['-i', 'dummy.mp4', 'dummy2.mp4', '-y'] + assert out_file.get_args(overwrite_output=False) == ['-i', 'dummy.mp4', 'dummy2.mp4', '-n'] + assert out_file.get_args(overwrite_output=None) == ['-i', 'dummy.mp4', 'dummy2.mp4'] def _get_complex_filter_example():