[TIP] import path and nosetests

MattL mmlegra at micron.com
Fri Feb 22 13:12:39 PST 2013


Did nosetests work correctly when run from the top level project directory?

andrea crotti <andrea.crotti.0 <at> gmail.com> writes:

> 
> I'm having a stupid problem with imports and nosetests.
> Basically in a file this fails
> 
> from tests.unit.app.handlers.test_es_filters import USER_ALL
> 
> with:
> ImportError: No module named unit.app.handlers.test_es_filters





More information about the testing-in-python mailing list