File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
openwisp_controller/config/tests Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -2280,11 +2280,6 @@ def test_templates_fetch_queries_10(self):
22802280 self ._verify_template_queries (config , 10 )
22812281
22822282 def test_empty_device_form_with_config_inline (self ):
2283- """
2284- Ensures submitting device form with missing required fields
2285- and configuration inline shows validation errors instead of
2286- raising an exception
2287- """
22882283 org = self ._get_org ()
22892284 template = self ._create_template (organization = org )
22902285 path = reverse (f"admin:{ self .app_label } _device_add" )
@@ -2309,12 +2304,9 @@ def test_empty_device_form_with_config_inline(self):
23092304 "command_set-MIN_NUM_FORMS" : 0 ,
23102305 "command_set-MAX_NUM_FORMS" : 1000 ,
23112306 }
2312- # Should not raise MultiValueDictKeyError
23132307 response = self .client .post (path , params )
2314- # Should show validation errors instead
23152308 self .assertEqual (response .status_code , 200 )
23162309 self .assertContains (response , "errorlist" )
2317- # Verify no device was created
23182310 self .assertEqual (Device .objects .count (), 0 )
23192311
23202312
You can’t perform that action at this time.
0 commit comments