Skip to content

Commit

Permalink
Merge pull request #1 from ivanovart/master
Browse files Browse the repository at this point in the history
Improve coverage
  • Loading branch information
jmriebold committed Nov 23, 2021
2 parents fb507cd + c3791ff commit d5a9853
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_swagger_ui_parameters.py
Expand Up @@ -46,9 +46,11 @@ def test_swagger_ui(good_client):
assert 'syntaxHighlight.theme: "obsidian",' in response.text


def test_response(good_client):
def test_response(good_client, bad_client):
response = good_client.get("/items/")
assert response.json() == {"id": "foo"}
response = bad_client.get("/items/")
assert response.json() == {"id": "foo"}


def test_bad_value(bad_client):
Expand Down

0 comments on commit d5a9853

Please sign in to comment.