fix(csub): the Delete keyword returns the expected 4xx; 041_03 asks for application/ld+json

Two small fixes in the context source registration subscription tests.

Change:

  • Delete Context Source Registration Subscription takes expected_status=any and returns the response, as Delete Subscription does. 042_02 (an invalid id, 400) and 042_03 (an unknown id, 404) can then check the 4xx they expect, instead of failing inside the keyword.
  • 041_03: the pagination check compares the whole Link header, so the @context goes in the body (application/ld+json) rather than as a second Link value - as in its siblings 031_02 and 037_11.

Effect (against coraine): 041_03_01, 041_03_02, 042_02_01, 042_03_01 fail on develop and pass with this MR. None breaks.

Checks run: robocop format --check (0 files), scripts/find_unused_test_data.py (nothing new), statisticsDocumentationData.py (0 of 625 failed), doc unit tests OK.

Fix MR 17 of the plan: https://famzang.com/ttf/ngsi-ld-suite-plan.html

Edited by Ken Zangelin

Merge request reports

Loading
Loading