[TIP] NoseDjango doesn't work in Windows?

Benjamin Scherrey scherrey at proteus-tech.com
Sat May 17 09:20:32 PDT 2008

Done some further investigation on this and it doesn't appear to necessarily
be nose-django or windows. Sadly I'm not sure what it is but I have reduced
it to a short reproducible example described below and attached. This all
works fine under one of my Ubuntu linux machines but fails under my windows
& Fedora machines (one of each). All are running python 2.5.1 and (I
believe) pretty much the same versions of everything else.

Given the following dir/file structure:


in test_app.py:
from app import views

running nosetests (even without --with-django) from project, app, or tests
returns me "ImportError: No module named app".

Am I pulling some stupid python module mistake (and if so, why would it work
under one of my machines)??

Appreciate any clues,

  -- Ben

On Sat, May 17, 2008 at 10:31 AM, Victor Ng <crankycoder at gmail.com> wrote:

> Hmm... I'll try updating the pypi package. I've made a couple modifications
> and I am actually using it under Windows in my daily work on my contract,
> but I don't have access to a Windows installed right now...
> Can you give me more details on what's wrong with nose-django for you?  I
> think I might have my old Windows installer lying around.
> thanks,
> vic
> <snip>
> --
> "Never attribute to malice that which can be adequately explained by
> stupidity." - Hanlon's Razor

I fear it's so!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.idyll.org/pipermail/testing-in-python/attachments/20080517/41516bc0/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: project-sample.tar.gz
Type: application/x-gzip
Size: 922 bytes
Desc: not available
Url : http://lists.idyll.org/pipermail/testing-in-python/attachments/20080517/41516bc0/attachment.bin 

More information about the testing-in-python mailing list