Commit Graph

10 Commits

Author SHA1 Message Date
William Rubel
c46bc9ae83 Trying to improve coverage 2019-02-18 09:15:07 -06:00
William Rubel
e229d248ad Trying to improve coverage 2019-02-18 08:52:37 -06:00
Steve Pulec
0b2602db27
Merge pull request #1641 from cpitchford/bugfix_events_put_permission_action_filter
Bugfix events put permission action filter
2018-05-29 22:32:49 -04:00
cpitchford
b6e795ce61
Testing using fully qualified Action events:PutEvents
The Action parameter to put_permission must be fully qualified as events:PutEvents as per:

http://boto3.readthedocs.io/en/latest/reference/services/events.html#CloudWatchEvents.Client.put_permission
2018-05-15 18:30:30 +01:00
cpitchford
e85106c708
describe_event_bus returns json, not dict
Correct the assumption that describe_event_bus()['Policy'] is a dict
As per
http://boto3.readthedocs.io/en/latest/reference/services/events.html#CloudWatchEvents.Client.describe_event_bus
It should be a JSON encoded string

Here we decode the JSON before we look inside the policy
2018-05-15 17:04:59 +01:00
Terry Cain
a6e5ffb99b Completed events 2017-10-28 20:17:34 +01:00
Steve Pulec
bf935c210b Fix cloudwatch events delete_rule. Closes #884. 2017-04-12 22:15:23 -04:00
Steve Pulec
3c0c4c2996 Fix tests for py3. 2017-02-23 22:28:09 -05:00
Justin Wiley
6c85a85e0d Removed OrderedDicts for 2.6 and dict.iteritems() calls for 3.3+ compatibility. 2016-12-01 19:10:59 -08:00
Justin Wiley
db0b494b4f Completed the CloudWatch Events mocking module and tests. 2016-12-01 17:23:51 -08:00