Opened 18 years ago
Closed 18 years ago
#3217 closed enhancement (fixed)
[patch] Unit test for invalid admin options
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Testing framework | Version: | |
Severity: | normal | Keywords: | |
Cc: | myer0052@… | Triage Stage: | Unreviewed |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Attachments (1)
Change History (3)
by , 18 years ago
Attachment: | invalid_admin_options.diff added |
---|
comment:1 by , 18 years ago
Cc: | added |
---|
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
invalid admin options test