Skip to content

Commit 7184435

Browse files
committed
assert content type in media smoke tests
1 parent a27fb91 commit 7184435

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/smoke/test_media_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def getMedia(self) -> None:
8888

8989
logging.debug(api_response_with_http_info)
9090
assert_that(api_response_with_http_info.status_code, equal_to(200))
91+
assert_that(api_response_with_http_info.headers["Content-Type"], equal_to("image/jpeg"))
9192

9293
api_response = self.api_instance.get_media(
9394
self.account_id, self.media_id)

0 commit comments

Comments
 (0)