[TIP] NoseDjango doesn't work in Windows?

Victor Ng crankycoder at gmail.com
Thu Aug 28 21:50:22 PDT 2008

Hi all,

I've finally gotten a chance to do a full refresh of the NoseDjango plugin.


I've added a bunch more test cases and synced the code base up to Django
1.0b1 and nose 0.10.3.

If you go and grab the source for nosedjango from hg HEAD, it'll work
against Django's trunk (currently rev 8693).


On Sat, May 17, 2008 at 12:20 PM, Benjamin Scherrey <
scherrey at proteus-tech.com> wrote:

> 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:
> /tmp
>     /project
>         __init__.py
>         settings.py
>         /app
>             __init__.py
>             models.py
>             views.py
>             /tests
>                 test_app.py
> 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!

"Never attribute to malice that which can be adequately explained by
stupidity." - Hanlon's Razor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.idyll.org/pipermail/testing-in-python/attachments/20080829/1275860e/attachment.htm 

More information about the testing-in-python mailing list