Opened 9 years ago

Closed 9 years ago

#3217 closed enhancement (fixed)

[patch] Unit test for invalid admin options

Reported by: myer0052@… Owned by: adrian
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: UI/UX:


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 file.

Attachments (1)

invalid_admin_options.diff (12.4 KB) - added by Robert Myers <myer0052@…> 9 years ago.
invalid admin options test

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Robert Myers <myer0052@…>

invalid admin options test

comment:1 Changed 9 years ago by Robert Myers <myer0052@…>

  • Cc myer0052@… added

comment:2 Changed 9 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(In [4273]) Fixes #3217 -- Added regression tests for options on the Admin metaclass. Includes some tests that are commented out, as they are known failures. Thanks, Robert Myers (who has promised to fix the rest of the tests).

Note: See TracTickets for help on using tickets.
Back to Top