MCPcopy
hub / github.com/celery/celery / module

Function module

t/unit/conftest.py:514–516  ·  view source on GitHub ↗

Mock one or modules such that every attribute is a :class:`Mock`.

(request)

Source from the content-addressed store, hash-verified

512
513@pytest.fixture
514def module(request):
515 """Mock one or modules such that every attribute is a :class:`Mock`."""
516 yield from _module(*request.node.get_closest_marker("patched_module").args)
517
518
519@contextmanager

Callers

nothing calls this directly

Calls 1

_moduleFunction · 0.85

Tested by

no test coverage detected