celery/celery — pull request #1816 by alanhamlett (2014-01-23 00:56:16+00:00)
Title: use assert_called_once_with because assert_called_once will always pass ...

...because that method does not exist on mock.MagicMock

http://www.voidspace.org.uk/python/mock/mock.html#mock.Mock