Skip to content

Commit

Permalink
Add simple test
Browse files Browse the repository at this point in the history
  • Loading branch information
kt474 committed Dec 18, 2024
1 parent 04d5d8f commit 85507b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/unit/test_runtime_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,8 @@ def test_custom_client_app_header(self):
client._session.custom_header = None
client._session._set_custom_header()
self.assertNotIn(custom_header, client._session.headers["X-Qx-Client-Application"])

def test_header_api_version(self):
"""Test IBM-API-Version is in header."""
client = self._get_client()
self.assertIn("IBM-API-Version", client._session.headers)

0 comments on commit 85507b2

Please sign in to comment.