B þD†b·ã@sJddlZddlmmZddlZddlmZe  ¡dd„ƒZ dd„Z dS)éN)ÚappcCsBiddddddddd d d d id ddœdddgiddiddœ idœS)z Generates A Pinpoint EventZ 71b0f21869ac444eb0185d43539b97eaZ 54115c33de414441b604a71f59a2ccc3Ú0Z ecf06111556d4c1ca09b1b197469a61az2020-04-19T00:33:24.609ZzEndpointId-1234ZCUSTOMz +14255555555ZACTIVEZNONEZCountryZUSAZAppleZios)ZMakeZPlatformz2020-04-03T22:23:23.597ZZ FirstNameÚTestZUserIdZ austin52789) Z ChannelTypeZAddressZEndpointStatusZOptOutZLocationZ DemographicZ EffectiveDateZ AttributesZUserZ CreationDate)ÚMessageZ ApplicationIdZ CampaignIdZ TreatmentIdZ ActivityIdZ ScheduledTimeZ Endpoints©rrrúI/home/ec2-user/amazon-pinpoint-custom-channel1/tests/unit/test_handler.pyÚpinpoint_events&rcCsˆt |d¡}d}||k}|s|t d|fd||f¡dt ¡ksFt |¡rPt |¡ndt |¡dœ}dd|i}tt  |¡ƒ‚d}}dS) NÚz Hello World!)ú==)z%(py0)s == %(py3)sÚ return_value)Úpy0Úpy3zassert %(py5)sÚpy5) rZlambda_handlerÚ @pytest_arÚ_call_reprcompareÚ @py_builtinsÚlocalsÚ_should_repr_global_nameÚ _safereprÚAssertionErrorÚ_format_explanation)rr Ú @py_assert2Ú @py_assert1Ú @py_format4Ú @py_format6rrrÚtest_lambda_handler,s F r) ÚbuiltinsrÚ_pytest.assertion.rewriteÚ assertionÚrewriterÚpytestZ customchannelrÚfixturerrrrrrÚs  '