forked from p15670423/monkey
UT: Modify test_authentication_successful to not check for 'error' field in response
This commit is contained in:
parent
05f9e527e9
commit
40f69f0e58
|
@ -37,7 +37,6 @@ def test_authentication_successful(make_auth_request, mock_authentication_servic
|
|||
response = make_auth_request(TEST_REQUEST)
|
||||
|
||||
assert response.status_code == 200
|
||||
assert response.json["error"] == ""
|
||||
assert re.match(
|
||||
r"^[a-zA-Z0-9+/=]+\.[a-zA-Z0-9+/=]+\.[a-zA-Z0-9+/=\-_]+$", response.json["access_token"]
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue