def test_create_root(): root = Category.create_root() cat = Category.get_root() assert cat.name == "root"