nose-devs/nose — Issue #100: import name collision
Author: jpellerin
Created: 2011-12-14 15:59:13+00:00
State: open

I have a large collection of tests and I am trying to convert from running
them with Proctor to nose. The current roadblock I have is that something
about the way nose imports my libraries causes name collisions between
modules with the same name that appear in different parts of the library.

If I run:

$ nosetests myapp/package1/testfile.py

the tests in that single file run without error.

However, when I run:

$ nosetests myapp/package1

and a module in myapp.package1 imports 'uuid' it gets a version in
myapp.lib.uuid instead of the standard library version.

This problem is in version 0.10.4 installed via pip.

Proctor doesn't have this problem, so I would be happy to work with you to
figure out what is different about the import logic. I'd love to have
access to some of the plugins available for nose!

Google Code Info:
Issue #: 250
Author: doug.hel...@gmail.com
Created On: 2009-04-16T15:30:55.000Z
Closed On: