From 8327055239503fa422a8f5c6613298babfcc1935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tin=20Tvrtkovi=C4=87?= Date: Thu, 26 Mar 2015 16:24:48 +0100 Subject: [PATCH] Update responses.py Add a dummy NextToken to sns.list_platform_applications. Ideally the library would actually paginate, but this should be an alright change in the mean time. --- moto/sns/responses.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/moto/sns/responses.py b/moto/sns/responses.py index 51381f008..b9a17f4c7 100644 --- a/moto/sns/responses.py +++ b/moto/sns/responses.py @@ -250,7 +250,8 @@ class SNSResponse(BaseResponse): "PlatformApplications": [{ "PlatformApplicationArn": application.arn, "attributes": application.attributes, - } for application in applications] + } for application in applications], + "NextToken": None }, "ResponseMetadata": { "RequestId": "384ac68d-3775-11df-8963-01868b7c937c",