Skip to content

Commit

Permalink
Merge pull request #25 from oda-hub/adaption-new-error-formatting
Browse files Browse the repository at this point in the history
adapt testtest_request_too_large
  • Loading branch information
volodymyrss authored Dec 1, 2023
2 parents 532f97a + 86dd163 commit cad35b0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,7 @@ def test_request_too_large(dispatcher_live_fixture):
assert c.status_code == 200

assert jdata['job_status'] == 'failed'
assert 'SPI-ACS backend refuses to process this request' in jdata['exit_status']['error_message']


assert any('SPI-ACS backend refuses to process this request' in r for r in jdata['exit_status'].values())


@pytest.mark.parametrize("roles", ["integral-realtime", ""])
Expand Down

0 comments on commit cad35b0

Please sign in to comment.