コード例 #1
0
ファイル: test_amqp.py プロジェクト: tsailiming/celery
 def test_main(self, Command):
     c = Command.return_value = Mock()
     main()
     c.execute_from_commandline.assert_called_with()
コード例 #2
0
ファイル: test_amqp.py プロジェクト: KirillShaman/celery
 def test_main(self, Command):
     c = Command.return_value = Mock()
     main()
     c.execute_from_commandline.assert_called_with()