Older versions of Mock don't have assert_called_once.
Older versions of Mock don't have assert_called_once.

This leaves it as a mock method of the mock object, which runs
successfully, but fails to test the condition.

m-lab/scraper,m-lab/scraper