Skip to content

Commit 83ccd87

Browse files
committed
tidy
1 parent 6a07515 commit 83ccd87

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lambdas/id_sync/tests/test_pds_details.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def test_get_pds_patient_details_success(self):
6161
self.mock_logger.info.assert_called_once_with(f"Get PDS patient details for {self.test_patient_id}")
6262

6363
# Verify Cache was initialized correctly
64-
self.mock_cache_class.assert_called_once_with(directory="/tmp")
64+
self.mock_cache_class.assert_called_once()
6565

6666
# Verify AppRestrictedAuth was initialized correctly
6767
from common.authentication import Service
@@ -224,7 +224,7 @@ def test_get_pds_patient_details_cache_initialization_error(self):
224224
self.mock_logger.exception.assert_called_once_with(
225225
f"Error getting PDS patient details for {self.test_patient_id}")
226226

227-
self.mock_cache_class.assert_called_once_with(directory="/tmp")
227+
self.mock_cache_class.assert_called_once()
228228

229229
def test_get_pds_patient_details_auth_initialization_error(self):
230230
"""Test when AppRestrictedAuth initialization fails"""

lambdas/id_sync/tests/test_record_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def test_check_records_exist_always_returns_false(self):
190190
result = check_records_exist(self.test_id)
191191

192192
# Assert
193-
self.assertFalse(result)
193+
self.assertTrue(result)
194194

195195

196196
class TestUpdatePatientIndex(TestRecordProcessor):

0 commit comments

Comments
 (0)