Skip to content

Commit

Permalink
fixing tests after connexion 3 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
huberrob committed Jan 4, 2024
1 parent a1fa13a commit b0e2752
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def temporary_preprocessor(temporary_data_directory) -> Preprocessor:
def app(test_config) -> Flask:
_app = create_app(test_config)
_app.testing = True
return _app.app
return _app


@pytest.fixture(scope="session")
Expand Down
3 changes: 2 additions & 1 deletion tests/functional/test_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,5 @@ def test_evaluation(client: FlaskClient) -> None:
"R1.3": 2,
},
}
assert response.json["summary"].keys() == expected.keys()
response_json = response.json()
assert response_json["summary"].keys() == expected.keys()

0 comments on commit b0e2752

Please sign in to comment.