Skip to content

Commit

Permalink
refactor: use dedicated attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
bssyousefi committed Sep 23, 2024
1 parent dfa33fd commit b49d829
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/look/tests/test_app.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import io
import json
import os
from unittest import TestCase
from unittest.mock import call
Expand Down Expand Up @@ -36,7 +35,7 @@ def test_list_images(client, mock_store):

response = client.simulate_get('/images')

result = json.loads(response.content)
result = response.json

assert result['images'] == image_docs
assert response.status == falcon.HTTP_OK
Expand Down

0 comments on commit b49d829

Please sign in to comment.