'Test the ability to create a commit.'

def test_create_commit(self):

    self.token_login()
    cassette_name = self.cassette_name('create_commit')
    with self.recorder.use_cassette(cassette_name):
        repository = self.gh.repository('itsmemattchung', 'github3.py')
        data = {'message': 'My    commit    message', 'author': {'name': 'Matt    Chung', 'email': 'foo@example.com', 'date': '2015-12-03T16:13:30+12:00'}, 'parents': ['679358c79005523246ec3f460410ceda6b94e006'], 'tree': '6857122c4eff3ea461516c066f6bb1eba206d694'}
        commit = repository.create_commit(**data)
        assert isinstance(commit, github3.git.Commit)
