Commit 710f1e05 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

when post data is invlid, the view simply render the page as a GET, thus HTTP 200

parent bc9a90db
......@@ -1102,7 +1102,7 @@ class DataSourceMappingEditTestCase(ViewTestCase):
form_data = {}
self.assertRaises(ValidationError,, url, form_data)
self.assertEqual(, form_data).status_code, 200, "Stay on the page as the form is invalid")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment