MCPcopy Index your code
hub / github.com/docker/docker-py / wrapped

Function wrapped

tests/helpers.py:53–57  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

51 def fn(f):
52 @functools.wraps(f)
53 def wrapped(self, *args, **kwargs):
54 info = self.client.info()
55 if info['Name'] == 'docker-desktop':
56 pytest.skip('Test does not support Docker Desktop')
57 return f(self, *args, **kwargs)
58
59 return wrapped
60

Callers

nothing calls this directly

Calls 1

infoMethod · 0.45

Tested by

no test coverage detected