nose-devs/nose — Issue #178: nosetests not reading python files with execute attribute set
Author: jpellerin
Created: 2011-12-14 16:02:53+00:00
State: closed

What steps will reproduce the problem? (tg 1.0b2)
1. tg-admin quickstart -s -i -t tgbig tgtest
2. cd tgtest/tgtest/tests
3. chmod +x *py
4. nosetest

What is the expected output? What do you see instead?
expected output:
.F
======================================================================
FAIL: test_controllers.test_indextitle
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/nose-0.9.1-py2.4.egg/nose/case.py", line
52, in runTest
self.testFunc()
File "/tmp/kupal/kupal/tests/test_controllers.py", line 16, in
test_indextitle assert "

Welcome to TurboGears

" in
cherrypy.response.body[0]
AssertionError

----------------------------------------------------------------------
Ran 2 tests in 1.079s

FAILED (failures=1)
Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:

ouput:

----------------------------------------------------------------------
Ran 0 tests in 0.001s

OK

What version of the product are you using? On what operating system?
0.9.1

Please provide any additional information below.

Just tested it in turbogears 1.0b2

Google Code Info:
Issue #: 21
Author: dak...@gmail.com
Created On: 2007-01-02T12:18:55.000Z
Closed On: 2007-01-02T15:02:38.000Z