Beispiel #1
0
 def test_type_result(self):
     results = best_employee(db)
     self.assertIsInstance(results, tuple)
Beispiel #2
0
 def test_amount_in_results(self):
     results = best_employee(db)
     self.assertTrue(7945.6 in results)
Beispiel #3
0
 def test_first_name_in_results(self):
     results = best_employee(db)
     self.assertTrue('Patty' in results)
Beispiel #4
0
 def test_last_name_in_results(self):
     results = best_employee(db)
     self.assertTrue('Lee' in results)
Beispiel #5
0
 def test_length_results(self):
     results = best_employee(db)
     self.assertEqual(len(results), 3)