moto/tests/markers.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
196 B
Python
Raw Permalink Normal View History

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")