'Test the ability to iterate over repo\'s commits in a date range.'

def test_commits_since_until_datetime(self):

    i = self.instance.commits(since=datetime.datetime(2014, 8, 1), until='2014-09-01T00:00:00Z')
    self.get_next(i)
    self.session.get.assert_called_once_with(url_for('commits'), params={'per_page': 100, 'since': '2014-08-01T00:00:00Z', 'until': '2014-09-01T00:00:00Z'}, headers={})
