def get_template_context(self): return { 'item': self.order.item.full_name, 'item_lower': lower_first(self.order.item.full_name), 'firstname': self.order.user.first_name, 'item_url': self.order.item.get_absolute_url(), }
def test(input, expected): assert lower_first(input) == expected