def test_tag_tip(self): expected_result = "The %s event of %s project" % (ordinal(self.model.number), self.model.charter.language.tag_display) self.assertEqual(self.model.tag_tip, expected_result)
def tag_tip(self): return "The %s event of %s project" % (ordinal(self.number), self.charter.language.tag_display)