def test_get_root_categories(): populate_if_required() context = get_jinja_context() from shuup.front.template_helpers import general 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
def test_get_root_categories(): populate_if_required() context = get_jinja_context() from shuup.front.template_helpers import general for root in general.get_root_categories(context=context): assert not root.parent_id