diff options
author | Frederick Muriuki Muriithi | 2023-07-10 11:36:47 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-07-10 11:36:47 +0300 |
commit | c6ac30d4ccc26553a12e8c37cdf9078cbe9084b3 (patch) | |
tree | a40cea1c2b129e0e37b70d42c6f87fe51a5ec178 /tests/unit/db/test_case_attributes.py | |
parent | edebea34ac6545909737ce9540e9d51858550873 (diff) | |
download | genenetwork3-c6ac30d4ccc26553a12e8c37cdf9078cbe9084b3.tar.gz |
Fix linting errors caused by bump to Python 3.10migrate-to-python3.10
Diffstat (limited to 'tests/unit/db/test_case_attributes.py')
-rw-r--r-- | tests/unit/db/test_case_attributes.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/unit/db/test_case_attributes.py b/tests/unit/db/test_case_attributes.py index 175249b..596f78a 100644 --- a/tests/unit/db/test_case_attributes.py +++ b/tests/unit/db/test_case_attributes.py @@ -140,7 +140,7 @@ def test_approve_deleting_case_attribute(mocker: MockFixture) -> None: "WHERE id = %s", (3,), ), - mocker.call("DELETE FROM CaseAttribute " "WHERE Id = %s", ("12",)), + mocker.call("DELETE FROM CaseAttribute WHERE Id = %s", ("12",)), mocker.call( "UPDATE caseattributes_audit SET " "status = 'approved' WHERE id = %s", @@ -183,14 +183,16 @@ def test_approve_modifying_case_attribute(mocker: MockFixture) -> None: (3,), ), mocker.call( - "UPDATE CaseAttribute SET " "Description = %s WHERE Id = %s", + "UPDATE CaseAttribute SET " + "Description = %s WHERE Id = %s", ( "Test", "12", ), ), mocker.call( - "UPDATE CaseAttribute SET " "Name = %s WHERE Id = %s", + "UPDATE CaseAttribute SET " + "Name = %s WHERE Id = %s", ( "Height (A)", "12", |