Added SetAlarmState and added state filter to describe

This commit is contained in:
Terry Cain 2017-10-27 18:58:11 +01:00
commit 6adfb97753
No known key found for this signature in database
GPG key ID: 14D90844E4E9B9F3
5 changed files with 126 additions and 26 deletions

View file

@ -118,12 +118,3 @@ def test_describe_alarms():
alarms = conn.describe_alarms()
alarms.should.have.length_of(0)
@mock_cloudwatch_deprecated
def test_describe_state_value_unimplemented():
conn = boto.connect_cloudwatch()
conn.describe_alarms()
conn.describe_alarms.when.called_with(
state_value="foo").should.throw(NotImplementedError)