Skip to content

Commit 97b9ddd

Browse files
committed
[chores] Removed redundant comments
1 parent f9c1d21 commit 97b9ddd

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

openwisp_controller/config/tests/test_admin.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)