'Verify the request to create a tree with a base tree.'

def test_create_tree_with_base_tree(self):

    self.instance.create_tree([{'foo': 'bar'}], base_tree='sha')
    self.post_called_with(url_for('git/trees'), data={'tree': [{'foo': 'bar'}], 'base_tree': 'sha'})
