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">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>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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>vic<div>
<div></div><div><br>
<snip><br clear="all"><br></div></div>-- <br>"Never attribute to malice that which can be adequately explained by stupidity." - Hanlon's Razor<br>
</div></div></div></div></div>
</blockquote></div><br>
I fear it's so!<br>