浏览代码

Tests passing

Ask Solem 11 年之前
父节点
当前提交
dcc48a4562
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      celery/tests/bin/test_celery.py

+ 1 - 1
celery/tests/bin/test_celery.py

@@ -62,7 +62,7 @@ class test__main__(AppCase):
             with patch('celery.__main__._warn_deprecated') as depr:
             with patch('celery.__main__._warn_deprecated') as depr:
                 with patch('celery.bin.multi.main') as main:
                 with patch('celery.bin.multi.main') as main:
                     __main__._compat_multi()
                     __main__._compat_multi()
-                    mpc.assert_called_with()
+                    self.assertFalse(mpc.called)
                     depr.assert_called_with('celery multi')
                     depr.assert_called_with('celery multi')
                     main.assert_called_with()
                     main.assert_called_with()