<div dir="ltr">Hi all,<br><br>I've finally gotten a chance to do a full refresh of the NoseDjango plugin. <br><br><a href="http://pypi.python.org/pypi/NoseDjango/0.6">http://pypi.python.org/pypi/NoseDjango/0.6</a><br>
<br>I've added a bunch more test cases and synced the code base up to Django 1.0b1 and nose <a href="http://0.10.3.">0.10.3.</a><br><br>If you go and grab the source for nosedjango from hg HEAD, it'll work against Django's trunk (currently rev 8693).<br>
<br>vic<br><br><div class="gmail_quote">On Sat, May 17, 2008 at 12:20 PM, Benjamin Scherrey <span dir="ltr"><<a href="mailto:scherrey@proteus-tech.com">scherrey@proteus-tech.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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.<br>
<br>Given the following dir/file structure:<br><br>/tmp<br> /project<br> __init__.py<br> settings.py<br> /app<br> __init__.py<br> models.py<br> views.py<br> /tests<br>
test_app.py<br><br>in test_app.py:<br>from app import views<br><br>running nosetests (even without --with-django) from project, app, or tests returns me "ImportError: No module named app".<br><br>
Am I pulling some stupid python module mistake (and if so, why would it work under one of my machines)??<br><br>Appreciate any clues,<br><br> -- Ben<br><br><div class="gmail_quote"><div class="Ih2E3d">On Sat, May 17, 2008 at 10:31 AM, Victor Ng <<a href="mailto:crankycoder@gmail.com" target="_blank">crankycoder@gmail.com</a>> wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
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...<div>
<br></div><div>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.</div><div><br></div><div>thanks,</div></div><div><div><div><div><div>
vic<div>
<div></div><div><br>
<snip><br clear="all"><br></div></div><div class="Ih2E3d">-- <br>"Never attribute to malice that which can be adequately explained by stupidity." - Hanlon's Razor<br>
</div></div></div></div></div></div>
</blockquote></div><br>
I fear it's so!<br>
</blockquote></div><br><br clear="all"><br>-- <br>"Never attribute to malice that which can be adequately explained by stupidity." - Hanlon's Razor<br><br>
</div>