pre-commit-ci-lite[bot]
4 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
6 deletions
-
tests/test_tutorial/test_openapi_callbacks/test_tutorial002.py
|
|
|
@ -20,9 +20,7 @@ def test_process_passage(mock_post): |
|
|
|
) |
|
|
|
|
|
|
|
assert response.status_code == 200 |
|
|
|
assert response.json() == { |
|
|
|
"message": "Passage processing started" |
|
|
|
} |
|
|
|
assert response.json() == {"message": "Passage processing started"} |
|
|
|
|
|
|
|
|
|
|
|
def test_callback(): |
|
|
|
@ -35,6 +33,4 @@ def test_callback(): |
|
|
|
) |
|
|
|
|
|
|
|
assert response.status_code == 200 |
|
|
|
assert response.json() == { |
|
|
|
"received": True |
|
|
|
} |
|
|
|
assert response.json() == {"received": True} |
|
|
|
|