<commit_before># language: en
@ec2 @client
Feature: Amazon Elastic Compute Cloud

  Scenario: DescribeRegions
    Given I describe the EC2 region "us-west-2"
    Then the EC2 endpoint for the region should be "ec2.us-west-2.amazonaws.com"

  Scenario: Error handling
    Given I describe a non-existent instance
    Then a "InvalidInstanceIDNotFound" error should be raised<commit_msg>Simplified EC2 basic integration tests.<commit_after># language: en
@ec2 @client
Feature: Amazon Elastic Compute Cloud

  Scenario: Making a basic request
    When I call "describe_regions" on "ec2" with:
    """
    { region_names: ['us-west-2'] }
    """
    Then the response "regions" should be an array

  Scenario: Error handling
    Given I call "describe_instances" on "ec2" with:
    """
    { instance_ids: ['i-12345678'] }
    """
    Then I expect the response error code to be "InvalidInstanceIDNotFound"
    And I expect the response error message to include:
    """
    The instance ID 'i-12345678' does not exist
    """
{'fraction_non_alphanumeric': 0.08610567514677103, 'fraction_numerical': 0.026418786692759294, 'mean_word_length': 3.546666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4794132', 'n_tokens_mistral': 317, 'n_tokens_neox': 295, 'n_words': 118}