fix failing testsuite

This commit is contained in:
jf 2022-04-23 17:15:45 +02:00
parent 124f2edf9b
commit 466944c2e9
2 changed files with 1 additions and 5 deletions

View File

@ -6,10 +6,6 @@ stages:
- renovate
- build_container
variables:
CONTAINER_TEST_IMAGE: registry.0xacab.org/jvoisin/mat2-web:$CI_BUILD_REF_NAME
CONTAINER_RELEASE_IMAGE: registry.0xacab.org/jvoisin/mat2-web:latest
pyflakes:
stage: linting
script:

View File

@ -285,7 +285,7 @@ class Mat2APITestCase(unittest.TestCase):
)
self.assertEqual(400, request.status_code)
error_message = request.get_json()['message']
self.assertEqual("Post Body Required", error_message)
self.assertEqual("The browser (or proxy) sent a request that this server could not understand.", error_message)
def test_api_bulk_download_validation(self):
post_body = {