Mercurial > hg > orthanc-tests
comparison NewTests/Concurrency/test_transfer.py @ 671:b50b6acc1206
cleanup
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Mon, 26 Aug 2024 12:21:37 +0200 |
parents | 76c9923050b5 |
children | 765446710507 33e8cb8511ca |
comparison
equal
deleted
inserted
replaced
670:54d382626bfd | 671:b50b6acc1206 |
---|---|
74 for compression in [True, False]: | 74 for compression in [True, False]: |
75 start_time = time.time() | 75 start_time = time.time() |
76 | 76 |
77 for i in range(0, repeat_count): | 77 for i in range(0, repeat_count): |
78 oa.transfers.send(target_peer='b', | 78 oa.transfers.send(target_peer='b', |
79 resources_ids=all_studies_ids, | 79 resources_ids=all_studies_ids, |
80 resource_type=ResourceType.STUDY, | 80 resource_type=ResourceType.STUDY, |
81 compress=compression) | 81 compress=compression) |
82 | 82 |
83 self.assertEqual(instances_count, ob.get_statistics().instances_count) | 83 self.assertEqual(instances_count, ob.get_statistics().instances_count) |
84 self.assertEqual(disk_size, ob.get_statistics().total_disk_size) | 84 self.assertEqual(disk_size, ob.get_statistics().total_disk_size) |
85 ob.delete_all_content() | 85 ob.delete_all_content() |
86 | 86 |