python-botocore/tests/acceptance/features/smoke/ec2/ec2.feature

16 lines
460 B
Gherkin
Raw Normal View History

# 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