Extend view tests to call GET on all edit/delete views #3390

Closed
opened 2025-12-29 18:28:39 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Feb 24, 2020).

Proposed Changes

Extend the relevant tests cases within ViewTestCases to test making GET requests to the edit and delete views in addition to the existing POST-based tests.

Justification

Although we have tests in place to validate the action edit and delete functions, these don't test for loading the views without any data initially as a user does. This can lead to missing bugs, such as the regression identified under #4240.

Originally created by @jeremystretch on GitHub (Feb 24, 2020). ### Proposed Changes Extend the relevant tests cases within ViewTestCases to test making GET requests to the edit and delete views in addition to the existing POST-based tests. ### Justification Although we have tests in place to validate the action edit and delete functions, these don't test for loading the views without any data initially as a user does. This can lead to missing bugs, such as the regression identified under #4240.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 18:28:39 +01:00
adam closed this issue 2025-12-29 18:28:39 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3390