From 8df6c52a9e17e9685054c1d03c7129857369ec79 Mon Sep 17 00:00:00 2001 From: Jamie Hardt Date: Tue, 7 Nov 2023 18:00:09 -0800 Subject: [PATCH] more test impl --- tests/test_main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_main.py b/tests/test_main.py index 2535ae3..a214381 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -18,7 +18,7 @@ class MainTest(unittest.TestCase): def test_a_file(self): for path in glob.glob("tests/test_files/**/*.wav"): - with patch.object(sys, 'argv', [path]): + with patch.object(sys, 'argv', ["TEST", path]): try: main() except: @@ -26,7 +26,7 @@ class MainTest(unittest.TestCase): def test_ixml(self): with patch.object(sys, 'argv', - ['tests/test_files/sounddevices/A101_1.WAV']): + ['TEST', 'tests/test_files/sounddevices/A101_1.WAV']): try: main() except: