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

Method _args

t/unit/apps/test_multi.py:172–178  ·  view source on GitHub ↗
(name, *args)

Source from the content-addressed store, hash-verified

170 nodes3 = list(multi_args(p2, cmd='celery multi'))
171
172 def _args(name, *args):
173 return args + (
174 '--pidfile={}.pid'.format(os.path.join(os.path.normpath('/var/run/celery/'), name)),
175 '--logfile={}%I.log'.format(os.path.join(os.path.normpath('/var/log/celery/'), name)),
176 f'--executable={sys.executable}',
177 '',
178 )
179
180 assert len(nodes3) == 10
181 assert nodes3[0].name == 'celery1@example.com'

Callers

nothing calls this directly

Calls 2

formatMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected