Skip to content

Commit 37d6117

Browse files
committed
tweak: add Content-Type header to test request headers
1 parent bb1a41b commit 37d6117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def setUp(self, mock_file, mock_req):
5151

5252

5353
def create_headers_for_test():
54-
headers = {"Accept-Encoding": "gzip, deflate"}
54+
headers = {"Accept-Encoding": "gzip, deflate", "Content-Type": "application/json"}
5555
headers.update(get_auth_headers_for_test())
5656
return headers
5757

0 commit comments

Comments
 (0)