Django

Code

Ticket #6810 (closed: fixed)

Opened 9 months ago

Last modified 6 months ago

[newforms-admin] Add tests for admin views

Reported by: rmyers Assigned to: rmyers
Milestone: Component: Testing framework
Version: newforms-admin Keywords:
Cc: Triage Stage: Accepted
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

There are no tests for the newforms admin views, the test client should allow us to test login and various GET and POST actions.

Attachments

6810.patch (15.8 kB) - added by rmyers on 03/18/08 13:10:58.
first attempt tests permissions for login/add/change/delete views
6810-2.patch (16.8 kB) - added by rmyers on 03/18/08 15:14:05.
Cleaned up the test a little to improve readability

Change History

03/18/08 13:10:58 changed by rmyers

  • attachment 6810.patch added.

first attempt tests permissions for login/add/change/delete views

03/18/08 15:14:05 changed by rmyers

  • attachment 6810-2.patch added.

Cleaned up the test a little to improve readability

03/26/08 23:31:51 changed by brosner

  • owner changed from rmyers to brosner.
  • needs_better_patch changed.
  • status changed from new to assigned.
  • needs_tests changed.
  • needs_docs changed.

03/26/08 23:33:04 changed by brosner

  • owner changed from brosner to rmyers.
  • status changed from assigned to new.
  • stage changed from Unreviewed to Accepted.

Opps, didn't mean to actually accept the ticket for myself, but to Accept it ;) I will look over these tests in more depth later.

06/07/08 18:09:10 changed by brosner

  • status changed from new to closed.
  • resolution set to fixed.

(In [7589]) newforms-admin: Fixed #6810 -- Added tests for admin views. Thanks rmyers!


Add/Change #6810 ([newforms-admin] Add tests for admin views)




Change Properties
Action