Commit b8f3c8cd authored by Samuel GAIST's avatar Samuel GAIST

[plotters][tests] Fix text error check

The "on this account" part has been removed
to make the serializer more generic.
parent b2edf95a
...@@ -153,7 +153,7 @@ class PlotterParameterCreationTestCase(PlotterParameterTestCase): ...@@ -153,7 +153,7 @@ class PlotterParameterCreationTestCase(PlotterParameterTestCase):
self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST) self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST)
self.assertEqual( self.assertEqual(
json.loads(response.content)["non_field_errors"][0], json.loads(response.content)["non_field_errors"][0],
"plotterparameter plotterparameter1 version 1 already exists on this account", "plotterparameter plotterparameter1 version 1 already exists",
) )
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment