|
@@ -222,7 +222,6 @@ class test_result(AppCase):
|
|
self.assertIn(str(tb), out.getvalue())
|
|
self.assertIn(str(tb), out.getvalue())
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
class test_status(AppCase):
|
|
class test_status(AppCase):
|
|
|
|
|
|
@patch('celery.bin.celery.inspect')
|
|
@patch('celery.bin.celery.inspect')
|
|
@@ -402,7 +401,6 @@ class test_main(AppCase):
|
|
mainfun()
|
|
mainfun()
|
|
command.execute_from_commandline.assert_called_with(None)
|
|
command.execute_from_commandline.assert_called_with(None)
|
|
|
|
|
|
-
|
|
|
|
@patch('celery.bin.celery.CeleryCommand')
|
|
@patch('celery.bin.celery.CeleryCommand')
|
|
def test_main_KeyboardInterrupt(self, Command):
|
|
def test_main_KeyboardInterrupt(self, Command):
|
|
command = Command.return_value = Mock()
|
|
command = Command.return_value = Mock()
|