-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.6.0 (But reproducible in 3.6.1-dev, too)
Python version
3.11
Steps to Reproduce
1.Create a.py:
from extras.reports import Report
class DeviceConnectionsReport(Report):
description = "Validate the minimum physical connections for each device"
pass(Note, the class doesn't have a test method)
2.Upload it as report
Expected Behavior
I expected it to either get an error, that there are no test methods in it, and the ability to delete it without using the CLI.
Observed Behavior
Reality:
<class 'Exception'>
A report must contain at least one test method.
Python version: 3.11.4
NetBox version: 3.6.1-dev
Plugins: None installed
Screenshot from develop branch, but reproducible with stable, too
shaderecker
Metadata
Metadata
Assignees
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
