django-sane-testing icon indicating copy to clipboard operation
django-sane-testing copied to clipboard

Fix plugins check

Open tdivis opened this issue 13 years ago • 0 comments

Check for required_sane_plugins, called from is_skipped() in startTest was causing errors because not all plugins were enabled at that time (startTest methods of all plugins are called sequentially), so enable_test had to be moved to beforeTest plugin method.

This was revealed by failing test testproject.test.test_database.TestFixturesLoadedProperly.test_model_loaded, which now passes.

tdivis avatar Apr 06 '12 07:04 tdivis