nautobot-app-golden-config icon indicating copy to clipboard operation
nautobot-app-golden-config copied to clipboard

Improve view coverage in test_views.py

Open glennmatthews opened this issue 4 months ago • 1 comments

Environment

  • Nautobot version: 2.1.3
  • nautobot-golden-config version: 2.0.1

Proposed Functionality

nautobot/nautobot#5254 caused several GC views to raise exceptions when accessed, however upstream CI testing of this repository remained "green"/passing in full despite this issue. It would be good to implement at least basic sanity tests for all views in this app (inheriting a test for each view from nautobot.apps.testing.ViewTestCases would be a good starting point) in order to more rapidly detect fundamental breakage of the app.

Use Case

More comprehensive testing, earlier detection of fundamental breakage.

glennmatthews avatar Feb 08 '24 17:02 glennmatthews