[patch] Unit test for invalid admin options
|Reported by:||Owned by:||Adrian Holovaty|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Test invalid and valid admin options to make sure that model validation is working properly.
This test is based off of the invalid_models test. This test includes a number of models which attempt to set incorrect admin options. All models mark Bad should fail with an error specified in the django.core.management.py file.