Here are the examples of the python api test.mocks.MockCeleryClient taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
Example 1
def get_client():
if config.instance.test_mode:
from test.mocks import MockCeleryClient
return MockCeleryClient()
else:
return CeleryClient()