Open
Description
Every response should have its status code checked. The fact that _checkBadRequest
conflates this with checking the response status code makes refactoring the check for the expected status code look weird/impossible/duplicated. This happens in test_creation.ElementCreationTest._test_createElement
and in test_updating.ElementUpdatingTest._test_updateElement
, but obviously ever call to _checkBadRequest
should be investigated.