Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions localstack-core/localstack/testing/pytest/marking.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ class Markers:
"""The test requires docker or a compatible container engine - will not work on kubernetes"""
lambda_runtime_update = pytest.mark.lambda_runtime_update
"""Tests to execute when updating snapshots for a new Lambda runtime"""
k8s_always_run = pytest.mark.k8s_always_run
"""This tests will always run against k8s environment"""


# pytest plugin
Expand Down Expand Up @@ -226,3 +228,7 @@ def pytest_configure(config):
"markers",
"requires_in_process: mark the test as requiring the test to run inside the same process as LocalStack - will not work if tests are run against a running LS container.",
)
config.addinivalue_line(
"markers",
"k8s_always_run: mark the test to always run in k8s environment. This allows us to run tests that would otherwise be skipped, such as localstack_only tests.",
)
Loading