From 38ecfccfdd9ff22dccc4202feacc131894d1283d Mon Sep 17 00:00:00 2001 From: Jacob Shilitz Date: Thu, 5 Sep 2024 09:25:15 -0400 Subject: [PATCH] Remove redundant extra charge entries in UPS rate tests Deleted zero-amount extra charge entries from various test cases in the UPS rate tests. This streamlines the test cases and clarifies the relevant charges being tested. --- modules/connectors/ups/tests/ups/test_rate.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/connectors/ups/tests/ups/test_rate.py b/modules/connectors/ups/tests/ups/test_rate.py index dadca10f8..ff576088d 100644 --- a/modules/connectors/ups/tests/ups/test_rate.py +++ b/modules/connectors/ups/tests/ups/test_rate.py @@ -120,7 +120,6 @@ def test_parse_rate_response(self): "currency": "CAD", "extra_charges": [ {"amount": 116.35, "currency": "CAD", "name": "Base charge"}, - {"amount": 0.0, "currency": "CAD", "name": "14"}, {"amount": 21.52, "currency": "CAD", "name": "Fuel surcharge"}, {"amount": 20.68, "currency": "CAD", "name": "HST"}, ], @@ -135,7 +134,6 @@ def test_parse_rate_response(self): "currency": "CAD", "extra_charges": [ {"amount": 71.95, "currency": "CAD", "name": "Base charge"}, - {"amount": 0.0, "currency": "CAD", "name": "01"}, {"amount": 13.31, "currency": "CAD", "name": "Fuel surcharge"}, {"amount": 12.79, "currency": "CAD", "name": "HST"}, ], @@ -150,7 +148,6 @@ def test_parse_rate_response(self): "currency": "CAD", "extra_charges": [ {"amount": 70.90, "currency": "CAD", "name": "Base charge"}, - {"amount": 0.0, "currency": "CAD", "name": "13"}, {"amount": 13.12, "currency": "CAD", "name": "Fuel surcharge"}, {"amount": 12.6, "currency": "CAD", "name": "HST"}, ], @@ -165,7 +162,6 @@ def test_parse_rate_response(self): "currency": "CAD", "extra_charges": [ {"amount": 67.10, "currency": "CAD", "name": "Base charge"}, - {"amount": 0.0, "currency": "CAD", "name": "02"}, {"amount": 12.41, "currency": "CAD", "name": "Fuel surcharge"}, {"amount": 11.93, "currency": "CAD", "name": "HST"}, ],