From 0ddd1748682bc6f6193c9ef1be33a83c9c02c08b Mon Sep 17 00:00:00 2001 From: zhangliyong Date: Mon, 1 Sep 2014 14:13:40 +0700 Subject: [PATCH] Fix invoking requeue command bug in test_requeue --- tests/test_scripts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_scripts.py b/tests/test_scripts.py index c92a908..3f2a659 100644 --- a/tests/test_scripts.py +++ b/tests/test_scripts.py @@ -47,7 +47,7 @@ class TestRQCli(RQTestCase): def test_requeue(self): """rq -u requeue""" runner = CliRunner() - result = runner.invoke(rq_cli.main, ['-u', self.redis_url, 'requeue']) + result = runner.invoke(rq_cli.main, ['-u', self.redis_url, 'requeue', '-a']) self.assertEqual(result.exit_code, 0) self.assertIn('Requeueing 1 jobs from FailedQueue', result.output) self.assertIn('Unable to requeue 0 jobs from FailedQueue',