aristanetworks / cvprac

Other
46 stars 47 forks source link

CVP 2022.1.2 Error Message Format Change #245

Open mharista opened 1 year ago

mharista commented 1 year ago

====================================================================== 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://: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://: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://: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