Tuesday, August 30, 2011

Re: How to run tests?

On 30-08-11 21:02, mrstevegross wrote:
> INSTALLED_APPS = (
> ...
> 'vip_mobile.data',
> )
>
> It also contains a file data/tests.py with appropriate test content.
>
> When I run:
> manage.py test vip_mobile.data
>
> I get the error:
> django.core.exceptions.ImproperlyConfigured: App with label
> vip_mobile could not be found

Try "manage.py test data". Django doesn't really like those
dot-separated namespace packages, sadly. Only the last part is used.


Reinout

--
Reinout van Rees http://reinout.vanrees.org/
reinout@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment