aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-09-05 14:39:38 +0300
committerBonfaceKilz2023-09-05 14:57:51 +0300
commit259aec828fa3908eed62db9530db7d9efd72f136 (patch)
tree4308d35db61b6044b0d5da7b9c969f6c886cbf56 /tests/unit
parentb1916a0c0f2656847f07a174f8e8f8a863f4d282 (diff)
downloadgenenetwork3-259aec828fa3908eed62db9530db7d9efd72f136.tar.gz
Remove un-necessary string concatenation
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/db/test_case_attributes.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/db/test_case_attributes.py b/tests/unit/db/test_case_attributes.py
index 175249b..97a0703 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,14 @@ 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",