(self)
| 145 | self.assertEqual(locale.list(["A", "B", "C"]), "A, B and C") |
| 146 | |
| 147 | def test_format_day(self): |
| 148 | locale = tornado.locale.get("en_US") |
| 149 | date = datetime.datetime(2013, 4, 28, 18, 35) |
| 150 | self.assertEqual(locale.format_day(date=date, dow=True), "Sunday, April 28") |
| 151 | self.assertEqual(locale.format_day(date=date, dow=False), "April 28") |
nothing calls this directly
no test coverage detected