Fix more typos.
This commit is contained in:
parent
19bf8bf762
commit
d9d055c75d
19 changed files with 61 additions and 61 deletions
|
|
@ -88,8 +88,8 @@ def test_list_platform_applications():
|
|||
conn.create_platform_application(name="application1", platform="APNS")
|
||||
conn.create_platform_application(name="application2", platform="APNS")
|
||||
|
||||
applications_repsonse = conn.list_platform_applications()
|
||||
applications = applications_repsonse["ListPlatformApplicationsResponse"][
|
||||
applications_response = conn.list_platform_applications()
|
||||
applications = applications_response["ListPlatformApplicationsResponse"][
|
||||
"ListPlatformApplicationsResult"
|
||||
]["PlatformApplications"]
|
||||
applications.should.have.length_of(2)
|
||||
|
|
@ -101,8 +101,8 @@ def test_delete_platform_application():
|
|||
conn.create_platform_application(name="application1", platform="APNS")
|
||||
conn.create_platform_application(name="application2", platform="APNS")
|
||||
|
||||
applications_repsonse = conn.list_platform_applications()
|
||||
applications = applications_repsonse["ListPlatformApplicationsResponse"][
|
||||
applications_response = conn.list_platform_applications()
|
||||
applications = applications_response["ListPlatformApplicationsResponse"][
|
||||
"ListPlatformApplicationsResult"
|
||||
]["PlatformApplications"]
|
||||
applications.should.have.length_of(2)
|
||||
|
|
@ -110,8 +110,8 @@ def test_delete_platform_application():
|
|||
application_arn = applications[0]["PlatformApplicationArn"]
|
||||
conn.delete_platform_application(application_arn)
|
||||
|
||||
applications_repsonse = conn.list_platform_applications()
|
||||
applications = applications_repsonse["ListPlatformApplicationsResponse"][
|
||||
applications_response = conn.list_platform_applications()
|
||||
applications = applications_response["ListPlatformApplicationsResponse"][
|
||||
"ListPlatformApplicationsResult"
|
||||
]["PlatformApplications"]
|
||||
applications.should.have.length_of(1)
|
||||
|
|
|
|||
|
|
@ -88,8 +88,8 @@ def test_list_platform_applications():
|
|||
Name="application2", Platform="APNS", Attributes={}
|
||||
)
|
||||
|
||||
applications_repsonse = conn.list_platform_applications()
|
||||
applications = applications_repsonse["PlatformApplications"]
|
||||
applications_response = conn.list_platform_applications()
|
||||
applications = applications_response["PlatformApplications"]
|
||||
applications.should.have.length_of(2)
|
||||
|
||||
|
||||
|
|
@ -103,15 +103,15 @@ def test_delete_platform_application():
|
|||
Name="application2", Platform="APNS", Attributes={}
|
||||
)
|
||||
|
||||
applications_repsonse = conn.list_platform_applications()
|
||||
applications = applications_repsonse["PlatformApplications"]
|
||||
applications_response = conn.list_platform_applications()
|
||||
applications = applications_response["PlatformApplications"]
|
||||
applications.should.have.length_of(2)
|
||||
|
||||
application_arn = applications[0]["PlatformApplicationArn"]
|
||||
conn.delete_platform_application(PlatformApplicationArn=application_arn)
|
||||
|
||||
applications_repsonse = conn.list_platform_applications()
|
||||
applications = applications_repsonse["PlatformApplications"]
|
||||
applications_response = conn.list_platform_applications()
|
||||
applications = applications_response["PlatformApplications"]
|
||||
applications.should.have.length_of(1)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -806,7 +806,7 @@ def test_filtering_string_array_with_string_no_array_no_match():
|
|||
topic.publish(
|
||||
Message="no_match",
|
||||
MessageAttributes={
|
||||
"price": {"DataType": "String.Array", "StringValue": "one hundread"}
|
||||
"price": {"DataType": "String.Array", "StringValue": "one hundred"}
|
||||
},
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue