<commit_before>@subscription
Feature: Subscription

  Background:
    Given AWS SNS client

  Scenario: Subscribe
    Given I create a new topic "cucumber1"
    When I subscribe endpoint "http://example.com" with protocol "http" to topic "cucumber1"
    Then subscription should be successful

  Scenario: List by topic
    Given I create a new topic "cucumber21"
    And I create a new topic "cucumber22"
    When I subscribe endpoint "http://example.com" with protocol "http" to topic "cucumber21"
    And I list subscriptions for topic "cucumber21"
    Then I see endpoint "http://example.com" with topic "cucumber21"
    When I list subscriptions for topic "cucumber22"
    Then I don't see endpoint "http://example.com"

  Scenario: List all topic
    Given I create a new topic "cucumber31"
    And I create a new topic "cucumber32"
    When I subscribe endpoint "http://example1.com" with protocol "http" to topic "cucumber31"
    When I subscribe endpoint "http://example2.com" with protocol "http" to topic "cucumber32"
    And I list all subscriptions
    Then I see endpoint "http://example1.com" with topic "cucumber31"
    And I see endpoint "http://example2.com" with topic "cucumber32"<commit_msg>Update subscription.feature<commit_after>@subscription
Feature: Subscription

  Background:
    Given AWS SNS client

  Scenario: Subscribe
    Given I create a new topic "cucumber1"
    When I subscribe endpoint "http://example.com" with protocol "http" to topic "cucumber1"
    Then subscription should be successful

  Scenario: List by topic
    Given I create a new topic "cucumber21"
    And I create a new topic "cucumber22"
    When I subscribe endpoint "http://example.com" with protocol "http" to topic "cucumber21"
    And I list subscriptions for topic "cucumber21"
    Then I see endpoint "http://example.com" with topic "cucumber21"
    When I list subscriptions for topic "cucumber22"
    Then I don't see endpoint "http://example.com"

  Scenario: List all topics
    Given I create a new topic "cucumber31"
    And I create a new topic "cucumber32"
    When I subscribe endpoint "http://example1.com" with protocol "http" to topic "cucumber31"
    When I subscribe endpoint "http://example2.com" with protocol "http" to topic "cucumber32"
    And I list all subscriptions
    Then I see endpoint "http://example1.com" with topic "cucumber31"
    And I see endpoint "http://example2.com" with topic "cucumber32"
{'fraction_non_alphanumeric': 0.07749077490774908, 'fraction_numerical': 0.024600246002460024, 'mean_word_length': 3.7013487475915223, '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': '335164', 'n_tokens_mistral': 744, 'n_tokens_neox': 705, 'n_words': 302}