Skip to content

Commit

Permalink
Add automated test for rest-api
Browse files Browse the repository at this point in the history
  • Loading branch information
Simatwa committed Apr 12, 2024
1 parent bfb338e commit 8d1e3c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def test_prompt_to_image_bytes_get_redirect(self):
"prompt": "Jay Z performing",
},
)
self.assertEqual(resp.status_code, status.HTTP_307_TEMPORARY_REDIRECT)
self.assertEqual(resp.status_code, status.HTTP_200_OK)
self.assertIn("https://image.pollinations.ai/", resp.url)


Expand Down

0 comments on commit 8d1e3c5

Please sign in to comment.