Exemple #1
0
 def test_bikes_few(self):
     expected = "At Rodin: 1."
     not_expected = "2"
     response = handle_bikes()
     print(response)
     self.assertFalse(not_expected in response)
     self.assertTrue(expected in response)
     self.assertLess(len(response), 161)
Exemple #2
0
 def test_bikes_many(self):
     expected = "At Hill: 3, 4, 5, 6."
     response = handle_bikes()
     print(response)
     self.assertTrue(expected in response)
     self.assertLess(len(response), 161)
Exemple #3
0
 def test_bikes(self):
     expected = "At Rodin: 1, 2."
     response = handle_bikes()
     print(response)
     self.assertTrue(expected in response)
     self.assertLess(len(response), 161)