moto/tests/markers.py

9 lines
196 B
Python

import pytest
from moto import settings
requires_docker = pytest.mark.requires_docker
if settings.SKIP_REQUIRES_DOCKER:
requires_docker = pytest.mark.skip(reason="running docker required")