Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Update regression tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xlz-jbleclere committed Jun 3, 2021
1 parent be10c53 commit a352b32
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_environment_variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def test_env_var_ONEPORTAL_URL(accelize_drm, conf_json, cred_json, async_handler
assert "OAuth2 Web Service error 404" in str(excinfo.value)
assert async_handler.get_error_code(str(excinfo.value)) == accelize_drm.exceptions.DRMWSReqError.error_code
async_cb.assert_Error(accelize_drm.exceptions.DRMWSReqError.error_code, 'OAuth2 Web Service error 404')
async_cb.assert_Error(accelize_drm.exceptions.DRMWSReqError.error_code, 'The issue could be caused by a networking problem: please verify your internet access')
async_cb.reset()


Expand Down Expand Up @@ -91,6 +90,5 @@ def test_env_var_ONEPORTAL_CLIENT_ID(accelize_drm, conf_json, cred_json, async_h
assert "invalid_client" in str(excinfo.value)
assert async_handler.get_error_code(str(excinfo.value)) == accelize_drm.exceptions.DRMWSReqError.error_code
async_cb.assert_Error(accelize_drm.exceptions.DRMWSReqError.error_code, 'OAuth2 Web Service error 401')
async_cb.assert_Error(accelize_drm.exceptions.DRMWSReqError.error_code, 'The issue could be caused by a networking problem: please verify your internet access')
async_cb.reset()

0 comments on commit a352b32

Please sign in to comment.