def test_get_root_categories():
    populate_if_required()
    context = get_jinja_context()
    for root in general.get_root_categories(context=context):
        assert not root.parent_id
def test_get_root_categories():
    populate_if_required()
    context = get_jinja_context()
    for root in general.get_root_categories(context=context):
        assert not root.parent_id
Ejemplo n.º 3
0
def test_get_root_categories():
    populate_if_required()
    context = get_jinja_context()
    general.get_root_categories(context)