MCPcopy Create free account
hub / github.com/celery/celery / throw_file_not_found_error

Method throw_file_not_found_error

t/unit/worker/test_worker.py:1324–1325  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

1322
1323 # Given: Mock the Hub to return errors for add and remove
1324 def throw_file_not_found_error(*args, **kwargs):
1325 raise OSError()
1326
1327 hub.add = throw_file_not_found_error
1328 hub.add_reader = throw_file_not_found_error

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected