changeset 726:5dd69b8307f4 find-refactoring

fix
author Alain Mazy <am@orthanc.team>
date Fri, 18 Oct 2024 10:51:19 +0200
parents 90dfc48b89a7
children c5c49f92554e
files NewTests/Concurrency/test_transfer.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/NewTests/Concurrency/test_transfer.py	Fri Oct 18 10:40:36 2024 +0200
+++ b/NewTests/Concurrency/test_transfer.py	Fri Oct 18 10:51:19 2024 +0200
@@ -110,8 +110,7 @@
                 job = oa.jobs.get(orthanc_id=remote_job.remote_job_id)
                 job.wait_completed(polling_interval=0.1)
 
-                job.refresh()
-                self.assertEqual("Success", job.status)
+                self.assertEqual("Success", job.info.status)
                 self.assertEqual(instances_count, oa.get_statistics().instances_count)
                 self.assertEqual(disk_size, oa.get_statistics().total_disk_size)
                 oa.delete_all_content()