add mock for list_endpoints_by_platform_application method
This commit is contained in:
parent
07dd6e554e
commit
e23edaa47f
@ -184,3 +184,25 @@ class SNSResponse(BaseResponse):
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
def list_endpoints_by_platform_application(self):
|
||||||
|
return json.dumps({
|
||||||
|
"ListEndpointsByPlatformApplicationResponse": {
|
||||||
|
"ListEndpointsByPlatformApplicationResult": {
|
||||||
|
"Endpoints": [
|
||||||
|
{
|
||||||
|
"Attributes": {
|
||||||
|
"Token": "TOKEN",
|
||||||
|
"Enabled": "true",
|
||||||
|
"CustomUserData": ""
|
||||||
|
},
|
||||||
|
"EndpointArn": "FAKE_ARN_ENDPOINT"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"NextToken": None
|
||||||
|
},
|
||||||
|
"ResponseMetadata": {
|
||||||
|
"RequestId": "384ac68d-3775-11df-8963-01868b7c937a",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user