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): def test_a_file(self):
for path in glob.glob("tests/test_files/**/*.wav"): for path in glob.glob("tests/test_files/**/*.wav"):
with patch.object(sys, 'argv', [path]): with patch.object(sys, 'argv', ["TEST", path]):
try: try:
main() main()
except: except:
@@ -26,7 +26,7 @@ class MainTest(unittest.TestCase):
def test_ixml(self): def test_ixml(self):
with patch.object(sys, 'argv', with patch.object(sys, 'argv',
['tests/test_files/sounddevices/A101_1.WAV']): ['TEST', 'tests/test_files/sounddevices/A101_1.WAV']):
try: try:
main() main()
except: except: