python-botocore/tests/acceptance/features/smoke/ec2/ec2.feature
2016-02-02 17:54:52 +09:00

16 lines
460 B
Gherkin

# language: en
@ec2
Feature: Amazon Elastic Compute Cloud
Scenario: Making a request
When I call the "DescribeRegions" API
Then the value at "Regions" should be a list
Scenario: Handling errors
When I attempt to call the "DescribeInstances" API with JSON:
"""
{"InstanceIds": ["i-12345678"]}
"""
Then I expect the response error code to be "InvalidInstanceID.NotFound"
And I expect the response error to contain a message