def test_parse_options(self): cmd = WorkerCommand() cmd.app = current_app opts, args = cmd.parse_options('celeryd', ['--concurrency=512']) self.assertEqual(opts.concurrency, 512)
def test_parse_options(self): cmd = WorkerCommand() cmd.app = current_app opts, args = cmd.parse_options("celeryd", ["--concurrency=512"]) self.assertEqual(opts.concurrency, 512)
def test_parse_options(self): cmd = WorkerCommand() opts, args = cmd.parse_options("celeryd", ["--concurrency=512"]) self.assertEqual(opts.concurrency, 512)