How do I execute eav tests?

11 views
Skip to first unread message

felipetio

unread,
Nov 27, 2011, 2:36:58 PM11/27/11
to eav-django
Hello,

I didn't figure out how to run eav tests. If I try `python tests.py` e
get:

ImportError: Settings cannot be imported, because environment variable
DJANGO_SETTINGS_MODULE is undefined.

Could you guys help me?

best

Andy Mikhaylenko

unread,
Nov 28, 2011, 3:31:02 AM11/28/11
to eav-django
Hello Felipe,

> I didn't figure out how to run eav tests.

I'm afraid I don't remember how exactly I was doing it before, but
here's probably the best approach:

https://bitbucket.org/neithere/django-autoslug/src/2992d09e0468/run_tests.py

It may be a good idea to add such script to the eav-django codebase,
with or without django-coverage.

Cheers,
Andy

Reply all
Reply to author
Forward
0 new messages