コード例 #1
0
 def testGreaterThanTimeout(self):
     self.assertEqual(httpStatusBot.checkCurrentTime(7, 6), False)
コード例 #2
0
 def testLessThanTimeout(self):
     self.assertEqual(httpStatusBot.checkCurrentTime(1, 5), 2)
コード例 #3
0
 def testEqualTimeout(self):
     self.assertEqual(httpStatusBot.checkCurrentTime(6, 6), False)