jezdez / django-discover-runner

A Django test runner based on unittest2's test discovery.
http://pypi.python.org/pypi/django-discover-runner
Other
132 stars 13 forks source link

Django models not loaded with this test runner. #3

Closed xordoquy closed 11 years ago

xordoquy commented 12 years ago

Hi,

It looks like this test runner doesn't validate models before starting the tests. I have one test that passes with Django's default test runner while it fails with django-discover-runner.

The exception is: ValueError: Cannot create form field for 'vat' yet, because its related model 'vat.VAT' has not been loaded yet

I will try to make a test project since this one isn't open sourced.

xordoquy commented 11 years ago

Since I can't reproduce this I'll close that bug.