Django testrunner не загружает приборы из каталога / приложения media app.Как я могу его отладить - найти, ищет ли он мои приборы и где?
(Python 2.7.1, Django 1.3.1)
Структура каталога моего приложения (app_label = media):
media/fixtures/
media/fixtures/media.json
media/fixtures/auth.json
media/tests/
media/tests/__init__
media/tests/general.py (v---- test below)
general.py
from django.utils import unittest
from apps.webmachinist.media.models import *
class GalleryItemFormTest(unittest.TestCase):
fixtures = ['media.json','auth.json']
[...]
Traceback:
./manage.py test media --verbosity=2
Creating test database for alias 'default' (':memory:')...
Syncing...
Creating tables ...
Creating table auth_permission
[...]
Creating table tagging_taggeditem
Installing custom SQL ...
Installing indexes ...
Migrating...
Running migrations for media:
- Migrating forwards to 0002_auto__del_field_image_image__add_field_image_file__del_field_video_vid.
> media:0001_initial
> media:0002_auto__del_field_image_image__add_field_image_file__del_field_video_vid
- Loading initial data for media.
No fixtures found.
Running migrations for portfolio:
- Migrating forwards to 0001_initial.
> portfolio:0001_initial
- Loading initial data for portfolio.
No fixtures found.
Synced:
> django.contrib.auth
> django.contrib.contenttypes
> django.contrib.sessions
> django.contrib.sites
> django.contrib.messages
> django.contrib.staticfiles
> django.contrib.admin
> django.contrib.admindocs
> south
> sorl.thumbnail
> tagging
Migrated:
- apps.webmachinist.media
- apps.webmachinist.portfolio
No fixtures found.