Fix audit findings in queue fairness and official account lifecycle
This commit is contained in:
@@ -52,7 +52,7 @@ def test_rpc_http_500_relogin_is_auth_error_not_cloud_failure():
|
||||
pytest.raises(FlowError) as error,
|
||||
):
|
||||
OfficialRPC("secret").devices()
|
||||
assert error.value.code == ErrorCode.UNAUTHORIZED
|
||||
assert error.value.code == ErrorCode.OFFICIAL_AUTH_REQUIRED
|
||||
assert "secret" not in str(error.value)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user