def test_getting_category_for_templatag_from_category_tree_path(self):
        tools.assert_equals(_get_category_from_pars_var(template.Variable('"%s"' % (self.category.tree_path)), self.context), self.category)
        tools.assert_equals(_get_category_from_pars_var(template.Variable((self.category_nested.tree_path) % '"%s"'), self.context), self.category_nested)
dataset/ETHPy150Open ella/ella/test_ella/test_positions/test_templatetags.py/TestPositionParsing.test_getting_category_for_templatag_from_category_tree_path/swapped operands of `%`