tests/python/examples/aubionotes.py: do not assume the error is known
authorPaul Brossier <piem@piem.org>
Thu, 8 Oct 2009 02:30:11 +0000 (04:30 +0200)
committerPaul Brossier <piem@piem.org>
Thu, 8 Oct 2009 02:30:11 +0000 (04:30 +0200)
tests/python/examples/aubionotes.py

index 6c22a349d8474882582f86f871ec22fee90d07e9..5d1815070cc797c2caef6765a69226c3afe14323 100644 (file)
@@ -28,10 +28,9 @@ class aubionotes_test_case(program_test_case):
     # and there should be an error message
     assert len(self.output) > 0
     # that looks like this 
-    output_lines = self.output.split('\n')
-    assert output_lines[0] == "Unable to open input file /dev/null."
-    #assert output_lines[1] == "Supported file format but file is malformed."
-    assert output_lines[2] == "Could not open input file /dev/null."
+    #output_lines = self.output.split('\n')
+    #for line in output_lines:
+    #  print line
 
 mode_names = ["yinfft", "yin", "fcomb", "mcomb", "schmitt"]
 for name in mode_names: