MCPcopy
hub / github.com/celery/celery / test_reload_from_cwd

Function test_reload_from_cwd

t/unit/utils/test_imports.py:77–80  ·  view source on GitHub ↗
(patching)

Source from the content-addressed store, hash-verified

75
76
77def test_reload_from_cwd(patching):
78 reload = patching('celery.utils.imports.reload')
79 reload_from_cwd('foo')
80 reload.assert_called()
81
82
83def test_reload_from_cwd_custom_reloader():

Callers

nothing calls this directly

Calls 2

reload_from_cwdFunction · 0.90
patchingFunction · 0.85

Tested by

no test coverage detected