seaworthy.pytest.checks¶
pytest mark to skip tests that require Docker.
-
dockertest
()[source]¶ Skip tests that require Docker to be available.
This is a function that returns a decorator so that we don’t run arbitrary Docker client code on import. Unlike
seaworthy.checks.dockertest()
, this implementation doesn’t requireunittest.TestCase
. It does, however, require pytest.