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):
self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST)
self.assertEqual(
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
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