Skip to content

Commit

Permalink
fix store_rdis_deduplication_statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
marekbiczysko committed Oct 7, 2024
1 parent 892fad1 commit 06b8320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def store_rdis_deduplication_statistics(self, deduplication_set_id: str) -> None
rdis = RegistrationDataImport.objects.filter(
status=RegistrationDataImport.IN_REVIEW,
program=program,
deduplication_engine_status=RegistrationDataImport.DEDUP_ENGINE_IN_PROGRESS,
deduplication_engine_status=RegistrationDataImport.DEDUP_ENGINE_PROCESSING,
)
for rdi in rdis:
rdi.dedup_engine_batch_duplicates = self.get_duplicate_individuals_for_rdi_against_batch_count(rdi)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ def test_store_rdis_deduplication_statistics(self) -> None:

rdi1 = RegistrationDataImportFactory(
program=self.program,
deduplication_engine_status=RegistrationDataImport.DEDUP_ENGINE_IN_PROGRESS,
deduplication_engine_status=RegistrationDataImport.DEDUP_ENGINE_PROCESSING,
)

service.get_duplicate_individuals_for_rdi_against_batch_count = mock.Mock(return_value=8)
Expand Down

0 comments on commit 06b8320

Please sign in to comment.