Lines Matching refs:assertIn
300 self.assertIn(len(days), (35, 42))
504 self.assertIn(b'Usage:', stderr)
509 self.assertIn(b'Usage:', stdout)
510 self.assertIn(b'calendar.py', stdout)
511 self.assertIn(b'--help', stdout)
522 self.assertIn((' %s' % year).encode(), stdout)
523 self.assertIn(b'January', stdout)
524 self.assertIn(b'Mo Tu We Th Fr Sa Su', stdout)
556 self.assertIn('2004'.encode(enc), stdout)
563 self.assertIn(b'Mon Tue Wed Thu Fri Sat Sun', stdout)
570 self.assertIn(conv('December\n\nMo Tu We'), stdout)
577 self.assertIn(b'Su Mo', stdout)
584 self.assertIn(conv('\nMo Tu We Th Fr Sa Su\n'), stdout)
594 self.assertIn(b'<title>Calendar for 2004</title>', stdout)
599 self.assertIn(('<title>Calendar for %s</title>' % year).encode(),
601 self.assertIn(b'<tr><th colspan="7" class="month">January</th></tr>',
612 self.assertIn(b'<link rel="stylesheet" type="text/css" '