Lines Matching refs:assertIn
583 self.assertIn(len(days), (35, 42))
798 self.assertIn(b'usage:', stderr)
803 self.assertIn(b'usage:', stdout)
804 self.assertIn(b'calendar.py', stdout)
805 self.assertIn(b'--help', stdout)
816 self.assertIn((' %s' % year).encode(), stdout)
817 self.assertIn(b'January', stdout)
818 self.assertIn(b'Mo Tu We Th Fr Sa Su', stdout)
850 self.assertIn('2004'.encode(enc), stdout)
857 self.assertIn(b'Mon Tue Wed Thu Fri Sat Sun', stdout)
864 self.assertIn(conv('December\n\nMo Tu We'), stdout)
871 self.assertIn(b'Su Mo', stdout)
878 self.assertIn(conv('\nMo Tu We Th Fr Sa Su\n'), stdout)
888 self.assertIn(b'<title>Calendar for 2004</title>', stdout)
893 self.assertIn(('<title>Calendar for %s</title>' % year).encode(),
895 self.assertIn(b'<tr><th colspan="7" class="month">January</th></tr>',
907 self.assertIn(b'<link rel="stylesheet" type="text/css" '
938 self.assertIn('class="text-center month-head"',
942 self.assertIn('class="text-center month"',
947 self.assertIn('class="wed text-nowrap"', self.cal.formatweek(weeks[0]))
952 self.assertIn('<th class="%s">' % color, header)
955 self.assertIn(
960 self.assertIn('<tr><th colspan="%d" class="%s">%s</th></tr>' % (