Skip to content

Commit

Permalink
adapt testtest_request_too_large
Browse files Browse the repository at this point in the history
  • Loading branch information
burnout87 committed Dec 1, 2023
1 parent 532f97a commit aefe563
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-e git+https://github.com/oda-hub/dispatcher-app.git@master#egg=cdci_data_analysis[test]
-e git+https://github.com/oda-hub/dispatcher-app.git@format-backend-error-msg#egg=cdci_data_analysis[test]
astropy
simple_logger
numpy
Expand Down
5 changes: 2 additions & 3 deletions tests/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,8 @@ 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 'SPI-ACS backend refuses to process this request' in jdata['exit_status']['debug_message']
assert 'Instrument: spi_acs, product: spi_acs_lc' in jdata['exit_status']['error_message']


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

0 comments on commit aefe563

Please sign in to comment.