Skip to content

Commit

Permalink
fix: skip tests not supported by v1 provider
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhoheiser committed May 7, 2024
1 parent 12efbac commit b011d8a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/aws/services/events/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@

class TestEvents:
@markers.aws.validated
@pytest.mark.skipif(
not is_v2_provider(),
reason="V1 provider does not support this feature",
)
def test_put_events_without_source(self, snapshot, aws_client):
entries = [
{
Expand All @@ -93,6 +97,10 @@ def test_put_events_without_source(self, snapshot, aws_client):
snapshot.match("put-events", response)

@markers.aws.unknown
@pytest.mark.skipif(
not is_v2_provider(),
reason="V1 provider does not support this feature",
)
def test_put_event_without_detail(self, snapshot, aws_client):
entries = [
{
Expand Down

0 comments on commit b011d8a

Please sign in to comment.