Skip to content

Commit f7a2d75

Browse files
committed
id sync path
1 parent c5e2883 commit f7a2d75

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
working-directory: lambdas/id_sync
141141
id: id_sync
142142
env:
143-
PYTHONPATH: ${{ github.workspace }}/lambdas/id_sync/src:${{ github.workspace }}/lambdas/id_sync/tests
143+
PYTHONPATH: ${{ github.workspace }}/lambdas/id_sync/src:${{ github.workspace }}/lambdas/id_sync/tests:${{ github.workspace }}/lambdas/shared/src:${{ github.workspace }}/lambdas/shared/tests
144144
continue-on-error: true
145145
run: |
146146
poetry env use 3.11

lambdas/id_sync/tests/test_record_processor.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ def setUp(self):
88
self.logger_info_patcher = patch("logging.Logger.info")
99
self.mock_logger_info = self.logger_info_patcher.start()
1010

11+
def tearDown(self):
12+
patch.stopall()
13+
1114
def test_record_processor_success(self):
1215
test_record = "abc1"
13-
response = process_record(test_record, None)
16+
response =
17+
(test_record, None)
1418
self.assertEqual(response, f"hello world {test_record}")

0 commit comments

Comments
 (0)