File: cloudfront.feature

package info (click to toggle)
python-botocore 1.12.103%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 41,552 kB
  • sloc: python: 43,119; xml: 15,052; makefile: 131
file content (14 lines) | stat: -rw-r--r-- 459 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# language: en
@cloudfront
Feature: Amazon CloudFront

  Scenario: Making a basic request
    When I call the "ListDistributions" API with:
    | MaxItems | 1 |
    Then the value at "DistributionList.Items" should be a list

  Scenario: Error handling
    When I attempt to call the "GetDistribution" API with:
    | Id | fake-id |
    Then I expect the response error code to be "NoSuchDistribution"
    And I expect the response error to contain a message