netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Try NetBox Cloud free: https://netboxlabs.com/free-netbox-cloud/
http://netboxlabs.com/oss/netbox/
Apache License 2.0
15.81k stars 2.54k forks source link

Add view tests for reports and custom scripts #7488

Open jeremystretch opened 2 years ago

jeremystretch commented 2 years ago

Proposed Changes

Add view test cases for rendering reports and custom scripts. We should be able to package some test reports & scripts by overriding REPORTS_ROOT and SCRIPTS_ROOT for the tests.

Justification

Ensures that the rendering of reports and custom scripts is adequately tested, to catch bugs such as #7474.

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide.