mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-02-23 16:49:59 -05:00
fix failing testsuite
This commit is contained in:
parent
124f2edf9b
commit
466944c2e9
@ -6,10 +6,6 @@ stages:
|
|||||||
- renovate
|
- renovate
|
||||||
- build_container
|
- 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:
|
pyflakes:
|
||||||
stage: linting
|
stage: linting
|
||||||
script:
|
script:
|
||||||
|
@ -285,7 +285,7 @@ class Mat2APITestCase(unittest.TestCase):
|
|||||||
)
|
)
|
||||||
self.assertEqual(400, request.status_code)
|
self.assertEqual(400, request.status_code)
|
||||||
error_message = request.get_json()['message']
|
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):
|
def test_api_bulk_download_validation(self):
|
||||||
post_body = {
|
post_body = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user