diff options
Diffstat (limited to 'tests/unit/db')
-rw-r--r-- | tests/unit/db/test_case_attributes.py | 8 | ||||
-rw-r--r-- | tests/unit/db/test_db.py | 1 |
2 files changed, 5 insertions, 4 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", diff --git a/tests/unit/db/test_db.py b/tests/unit/db/test_db.py index 8ac468c..2b4151c 100644 --- a/tests/unit/db/test_db.py +++ b/tests/unit/db/test_db.py @@ -103,7 +103,6 @@ class TestCrudMethods(TestCase): (35, 'Rob')) @pytest.mark.unit_test - # pylint: disable=R0201 def test_probeset_called_with_right_columns(self): """Given a columns argument, test that the correct sql query is constructed""" |