This commit is contained in:
Kumi 2023-08-27 10:10:44 +02:00
parent 90f2581d9f
commit a1d28e956b
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -28,7 +28,7 @@ class TestFedEx(TestCase):
def test_tracking(self): def test_tracking(self):
tracking_number = "702395541585" tracking_number = "702395541585"
response = self.fedex.tracking(tracking_number) response = self.fedex.track_by_tracking_number(tracking_number)
self.assertEqual(response["output"]["completeTrackResults"][0]["trackingNumber"], tracking_number) self.assertEqual(response["output"]["completeTrackResults"][0]["trackingNumber"], tracking_number)
if __name__ == "__main__": if __name__ == "__main__":