def test_raising_exception_for_templatag_if_no_category_for_tree_path_in_variable(self):
        context = Context({'category': '%s' % ("bad_three_path")})
        tools.assert_raises(Category.DoesNotExist, _get_category_from_pars_var, template.Variable('category'), context)
dataset/ETHPy150Open ella/ella/test_ella/test_positions/test_templatetags.py/TestPositionParsing.test_raising_exception_for_templatag_if_no_category_for_tree_path_in_variable/original