use fromchange=&tochange= instead of dates in nightly pushlog url
fix wrong uses of mock.assert_called and mock.assert_called_once
Merge pull request #158 from parkouss/nightly-pushlog

use fromchange=&tochange= instead of dates in nightly pushlog url