Skip to content

Commit

Permalink
reformatted
Browse files Browse the repository at this point in the history
  • Loading branch information
EricGoulart committed Dec 11, 2024
1 parent 4f50bcc commit ca349ed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_recipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,11 @@ def test_raw_path(self, asgi, app_kind, util):
result2 = falcon.testing.simulate_get(recipe.app, url2)
assert result2.status_code == 200
assert result2.json == {'cached': True}

scope2 = falcon.testing.create_scope(url2)
assert scope2['raw_path'] == url2.encode()


class TestTextPlainHandler:
class MediaEcho:
def on_post(self, req, resp):
Expand All @@ -158,4 +159,4 @@ def test_text_plain_basic(self, util):

assert response.status_code == 200
assert response.content_type == 'text/plain'
assert response.text == payload
assert response.text == payload

0 comments on commit ca349ed

Please sign in to comment.