diff --git a/ecommerce/extensions/iap/api/v1/tests/test_utils.py b/ecommerce/extensions/iap/api/v1/tests/test_utils.py index 51e4eb86746..1968cd7b23e 100644 --- a/ecommerce/extensions/iap/api/v1/tests/test_utils.py +++ b/ecommerce/extensions/iap/api/v1/tests/test_utils.py @@ -225,8 +225,7 @@ def test_upload_screenshot_of_inapp_purchase(self, _): self.assertEqual(post_call.call_args[1]['headers'], headers) self.assertEqual(put_call.call_args[0][0], 'https://image-url.com') - img_headers = headers.copy() - img_headers['Content-Type'] = 'image/png' + img_headers = {'Content-Type': 'image/png'} self.assertEqual(put_call.call_args[1]['headers'], img_headers) img_patch_url = 'https://api.appstoreconnect.apple.com/v1/inAppPurchaseAppStoreReviewScreenshots/1234'