Skip to content

Commit

Permalink
Update expected status codes
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Nov 28, 2021
1 parent c85a9e9 commit 2ff126b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/check_deployment.py
Expand Up @@ -28,7 +28,7 @@ def test_get_examples(expect, url):

def test_get_image(expect, url):
response = requests.get(f"{url}/images/iw/tests_code/in_production.jpg")
expect(response.status_code) == 201
expect(response.status_code) == 200
expect(response.headers["Content-Type"]) == "image/jpeg"


Expand All @@ -37,7 +37,7 @@ def test_get_image_custom(expect, url):
f"{url}/images/custom/test.png"
"?alt=https://www.gstatic.com/webp/gallery/1.jpg"
)
expect(response.status_code) == 201
expect(response.status_code) == 200
expect(response.headers["Content-Type"]) == "image/png"


Expand Down

0 comments on commit 2ff126b

Please sign in to comment.