2. Make sure the databases are setup:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'test',
'USER': 'test',
'PASSWORD': 'test'
}
}
3. DJANGO_SETTINGS_MODULE=settings PYTHONPATH=. tests/runtests.py
If you get:
from django.utils._os import upath ImportError: cannot import name upath
Chances are your DJANGO_SETTINGS_MODULE and PYTHONPATH are set.
No comments:
Post a Comment