Skip to content

Fixed tests to follow black and flake8 #862

Fixed tests to follow black and flake8

Fixed tests to follow black and flake8 #862

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Black failed Dec 14, 2023 in 0s

1 error

Black found 1 error

Annotations

Check failure on line 220 in /home/runner/work/cosri-patientsearch/cosri-patientsearch/tests/test_sync.py

See this annotation in the file changed.

@github-actions github-actions / Black

/home/runner/work/cosri-patientsearch/cosri-patientsearch/tests/test_sync.py#L209-L220

         "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,