'Verify the request for creating a file on a repository.'

def test_create_file(self):

    data = {'path': 'hello.txt', 'message': 'my    commit    message', 'content': 'bXkgbmV3IGZpbGUgY29udGVudHM=', 'committer': {'name': 'Scott    Chacon', 'email': 'schacon@gmail.com'}}
    self.instance.create_file(**data)
    b64_encoded_content = b64encode(data['content']).decode('utf-8')
    data.update({'content': b64_encoded_content})
    del data['path']
    self.put_called_with(url_for('contents/hello.txt'), data=data)
