Skip to content

Commit

Permalink
added content_type test
Browse files Browse the repository at this point in the history
  • Loading branch information
punit-kulal committed Aug 17, 2023
1 parent f1ecb28 commit 5c4c2f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clients/python/tests/unit/serde/json_serde_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ def test_unmarshaling_of_proto_message(self):
self.assertEqual(Code.CODE_OK, unmarshalled_response.code)
self.assertEqual(get_static_time(), unmarshalled_response.sent_time)
self.assertEqual(get_static_uuid(), unmarshalled_response.data["req_guid"])

def test_content_type_for_json(self):
self.assertEqual("application/json", self.serde.get_content_type())

0 comments on commit 5c4c2f2

Please sign in to comment.