'Verify the request for creating a status on a commit.'

def test_create_status(self):

    data = {'state': 'success', 'target_url': 'foo', 'description': 'bar', 'context': 'default'}
    with helper.mock.patch.object(GitHubCore, '_remove_none') as rm_none:
        self.instance.create_status(sha='fake-sha', **data)
        rm_none.assert_called_once_with(data)
        self.post_called_with(url_for('statuses/fake-sha'), data=data)
