more test impl

This commit is contained in:
Jamie Hardt
2023-11-07 18:00:09 -08:00
parent 408771c2e5
commit 8df6c52a9e

View File

@@ -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: