Fixed tests to follow black and flake8 #862
Annotations
2 errors and 1 warning
/home/runner/work/cosri-patientsearch/cosri-patientsearch/tests/test_sync.py#L209
"patientsearch.models.sync.requests.get",
return_value=mock_response(internal_patient_inactive_match),
)
result = sync_bundle(faux_token, external_patient_search_active)
- assert result["active"] != internal_patient_inactive_match["entry"][0]["resource"]["active"]
+ assert (
+ result["active"]
+ != internal_patient_inactive_match["entry"][0]["resource"]["active"]
+ )
def test_existing_inactive(
client,
mocker,
|
test
Process completed with exit code 1.
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-python@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|