Commit d235d827 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 b2e927f1
Pipeline #47509 failed with stage
in 16 minutes and 14 seconds
......@@ -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