Mercurial > hg > orthanc-tests
changeset 950:ae065472bc8f
streaming branch has been integrated into mainline
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Thu, 13 Aug 2026 16:53:31 +0200 |
| parents | 1c40e067143e |
| children | 4b44c9333ccc |
| files | NewTests/ExtraMainDicomTags/test_extra_main_dicom_tags.py NewTests/InterruptedDownloads/test_interrupted_downloads.py |
| diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/NewTests/ExtraMainDicomTags/test_extra_main_dicom_tags.py Wed Aug 12 16:51:20 2026 +0200 +++ b/NewTests/ExtraMainDicomTags/test_extra_main_dicom_tags.py Thu Aug 13 16:53:31 2026 +0200 @@ -105,7 +105,7 @@ count = int(m.get('orthanc_storage_cache_hit_count') or '0') + int(m.get('orthanc_storage_cache_miss_count') or '0') - if self.o.get_system()["ApiVersion"] >= 34: # 1.13.0 and 34 = streaming branch + if self.o.is_orthanc_version_at_least(1, 13, 0): count += int(m.get('orthanc_dicom_parser_cache_hit_count') or '0') print(f"storage access count = {count}")
--- a/NewTests/InterruptedDownloads/test_interrupted_downloads.py Wed Aug 12 16:51:20 2026 +0200 +++ b/NewTests/InterruptedDownloads/test_interrupted_downloads.py Thu Aug 13 16:53:31 2026 +0200 @@ -81,7 +81,7 @@ def test_interrupting_a_download_should_cancel_the_archive_job(self): # note: there was a regression between 1.12.10 and 1.12.11 - if self.o.is_orthanc_version_at_least(1, 12, 12) and self.o.get_system()["ApiVersion"] >= 34: # 1.13.0 and 34 = streaming branch + if self.o.is_orthanc_version_at_least(1, 13, 0): self.o.delete_all_content() populator = OrthancTestDbPopulator(self.o, studies_count=1, series_count=2, instances_count=200, random_seed=65) populator.execute() @@ -98,7 +98,7 @@ def test_interrupting_a_download_should_release_the_http_thread(self): # note: there was a regression between 1.12.10 and 1.12.11 - if self.o.is_orthanc_version_at_least(1, 12, 12) and self.o.get_system()["ApiVersion"] >= 34: # 1.13.0 and 34 = streaming branch + if self.o.is_orthanc_version_at_least(1, 13, 0): self.o.delete_all_content() populator = OrthancTestDbPopulator(self.o, studies_count=1, series_count=2, instances_count=200, random_seed=65) populator.execute()
