'Verify no request is made if tree is not a list or is None.'

def test_create_tree_rejects_invalid_trees(self):

    self.instance.create_tree({'foo': 'bar'})
    self.instance.create_tree(None)
    assert (self.session.post.called is False)
