mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-05-12 11:12:17 -04:00
fix failing testsuite
This commit is contained in:
parent
124f2edf9b
commit
466944c2e9
2 changed files with 1 additions and 5 deletions
|
@ -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:
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue