File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
netbox_diode_plugin/tests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ def test_get_default_branch_with_branching_plugin_and_branch_set(self):
108108 mock_branch .id = 1
109109
110110 # Create a setting with branch_id
111- setting = Setting .objects .create (
111+ Setting .objects .create (
112112 diode_target = "grpc://localhost:8080/diode" ,
113113 branch_id = 1
114114 )
@@ -132,7 +132,7 @@ def test_get_default_branch_with_branching_plugin_and_branch_set(self):
132132 def test_get_default_branch_exception_handling (self ):
133133 """Test that exceptions during branch retrieval are handled gracefully."""
134134 # Create a setting with branch_id
135- setting = Setting .objects .create (
135+ Setting .objects .create (
136136 diode_target = "grpc://localhost:8080/diode" ,
137137 branch_id = 1
138138 )
@@ -159,4 +159,4 @@ def test_get_default_branch_with_valid_authentication(self):
159159 self .assertEqual (response .status_code , status .HTTP_200_OK )
160160 self .assertIn ("branch" , response .json ())
161161 # Response structure is correct even if branch is None
162- self .assertIsInstance (response .json (), dict )
162+ self .assertIsInstance (response .json (), dict )
You can’t perform that action at this time.
0 commit comments