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 6, 2024
1 parent f427fda commit 6c48233
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/aws/services/events/test_events.py
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 6c48233

Please sign in to comment.