'Moving a tree to a slug that doesn\'t exist throws error.'

@pytest.mark.move
def test_move_tree_no_new_parent(self):

    rev = revision(title='doc    to    move', slug='doc1', is_approved=True, save=True)
    doc = rev.document
    try:
        doc._move_tree('slug-that-doesnt-exist/doc1')
        ok_(False, 'Moving    page    under    non-existing    doc    should    error.')
    except Exception:
        pass
