cvprac icon indicating copy to clipboard operation
cvprac copied to clipboard

CVP 2022.1.2 Error Message Format Change

Open mharista opened this issue 2 years ago • 0 comments

====================================================================== FAIL: test_api_change_control_start_invalid_tasks (main.TestCvpClientCC) Verify test_api_change_control_start_invalid_tasks

cvprac.cvp_client_errors.CvpRequestError: POST: https://<CVP>:443/api/resources/changecontrol/v1/ChangeControlConfig : Request Error: Not Found - {"code":5,"message":"change control with ID "InvalidCVPRACSystestCCID" does not exist"}

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/mhartzel/projects/cvprac/test/system/test_cvp_change_control_api.py", line 433, in test_api_change_control_start_invalid_tasks self.start_change_control(CHANGE_CONTROL_ID_INVALID) AssertionError: "POST: https://<CVP>:443/api/resources/changecontrol/v1/ChangeControlConfig : Request Error: Not Found - {"code":5, "message":"change control with ID \"InvalidCVPRACSystestCCID\" does not exist"}" does not match "POST: https://<CVP>:443/api/resources/changecontrol/v1/ChangeControlConfig : Request Error: Not Found - {"code":5,"message":"change control with ID "InvalidCVPRACSystestCCID" does not exist"}"


Ran 1 test in 2.193s

mharista avatar Mar 01 '23 18:03 mharista