Runtest Error Messages

Sam Ruby rubys at intertwingly.net
Mon Jul 2 04:05:03 EST 2007


Ben Welsh wrote:
> Hey listers,
> 
> Any ideas what's up with these errors that came off my runtests.py?
> 
> ======================================================================
> ERROR: test_apply_filter_html (tests.test_apply.ApplyTest )
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/maarten/public_html/planet/tests/test_apply.py", line 62, 
> in test_apply_filter_html
>     self.apply_asf()
>   File "/home/maarten/public_html/planet/tests/test_apply.py", line 27, 
> in apply_asf
>     splice.apply(self.feeddata)
>   File "/home/maarten/public_html/planet/planet/splice.py", line 122, in 
> apply
>     output = open(output_file).read()
> IOError: [Errno 2] No such file or directory: 'tests/work/apply/index.html'
> 
> ======================================================================
> FAIL: test_apply_filter_mememe ( tests.test_apply.ApplyTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/maarten/public_html/planet/tests/test_apply.py", line 72, 
> in test_apply_filter_mememe
>     self.apply_fancy()
>   File "/home/maarten/public_html/planet/tests/test_apply.py", line 89, 
> in apply_fancy
>     self.assertTrue(os.path.exists(path), path)
> AssertionError: tests/work/apply/index.html
> 
> ----------------------------------------------------------------------
> Ran 195 tests in 7.117s
> 
> FAILED (failures=1, errors=1)

Nothing obvious comes to mind that would cause exactly just those two 
failures, so perhaps logging will provide a clue.  Could I get you to 
run the following?

python runtests.py -v test_apply.py

- Sam Ruby


More information about the devel mailing list