Mercurial > hg > orthanc-tests
changeset 588:8aa101e126d0
migration to UCLouvain servers
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 22 Nov 2023 07:28:23 +0100 |
parents | f29d3ff889bf |
children | 47b87c87213b |
files | Plugins/DicomWeb/Run.py Plugins/WSI/Run.py README Tests/CheckDicomTls.py Tests/Tests.py |
diffstat | 5 files changed, 31 insertions(+), 31 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugins/DicomWeb/Run.py Thu Nov 16 16:12:15 2023 +0100 +++ b/Plugins/DicomWeb/Run.py Wed Nov 22 07:28:23 2023 +0100 @@ -390,7 +390,7 @@ def test_bitbucket_issue_53(self): # DICOMWeb plugin support for "limit" and "offset" parameters in QIDO-RS - # https://bugs.orthanc-server.com/show_bug.cgi?id=53 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=53 UploadInstance(ORTHANC, 'Brainix/Flair/IM-0001-0001.dcm') UploadInstance(ORTHANC, 'Knee/T1/IM-0001-0001.dcm') @@ -419,7 +419,7 @@ def test_bitbucket_issue_111(self): # Wrong serialization of empty values - # https://bugs.orthanc-server.com/show_bug.cgi?id=111 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=111 # https://bitbucket.org/sjodogne/orthanc-dicomweb/issues/3 # According to the standard, section F.2.5 @@ -428,7 +428,7 @@ # DICOM but empty (i.e., Value Length is 0), it shall be # preserved in the DICOM JSON attribute object containing no # "Value", "BulkDataURI" or "InlineBinary". - # https://bugs.orthanc-server.com/show_bug.cgi?id=111 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=111 UploadInstance(ORTHANC, 'Issue111.dcm') @@ -538,7 +538,7 @@ def test_bitbucket_issue_112(self): # Wrong serialization of number values - # https://bugs.orthanc-server.com/show_bug.cgi?id=112 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=112 # https://bitbucket.org/sjodogne/orthanc-dicomweb/issues/4/ UploadInstance(ORTHANC, 'DummyCT.dcm') @@ -570,7 +570,7 @@ def test_bitbucket_issue_113(self): # Wrong serialization of PN VR - # https://bugs.orthanc-server.com/show_bug.cgi?id=113 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=113 # https://bitbucket.org/sjodogne/orthanc-dicomweb/issues/2/ # Make sure UTF-8 encoding is used @@ -602,7 +602,7 @@ def test_bitbucket_issue_96(self): # WADO-RS RetrieveFrames rejects valid accept headers - # https://bugs.orthanc-server.com/show_bug.cgi?id=96 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=96 # https://bitbucket.org/sjodogne/orthanc-dicomweb/issues/5/ UploadInstance(ORTHANC, 'Brainix/Epi/IM-0001-0001.dcm') @@ -807,7 +807,7 @@ def test_bitbucket_issue_143(self): # WADO-RS metadata request returns "500 Internal Server Error" # instead of "404 Not Found" for missing instance - # https://bugs.orthanc-server.com/show_bug.cgi?id=143 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=143 UploadInstance(ORTHANC, 'Issue143.dcm') e = DoGetRaw(ORTHANC, '/dicom-web/studies/1.2.840.113619.2.55.3.671756986.106.1316467036.460/series/1.2.840.113619.2.55.3.671756986.106.1316467036.465/instances/0.0.0.0.0/metadata') @@ -1061,7 +1061,7 @@ #@unittest.skip("Skip this test on GDCM 2.8.4") def test_bitbucket_issue_164(self): # WARNING - This makes GDCM 2.8.4 crash - # https://bugs.orthanc-server.com/show_bug.cgi?id=164 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=164 UploadInstance(ORTHANC, 'Issue164.dcm') p = DoGetMultipart(ORTHANC, 'dicom-web/studies/1.2.276.0.26.1.1.1.2.2020.45.52293.1506048/series/1.2.276.0.26.1.1.1.2.2020.45.52293.6384450/instances/1.2.276.0.26.1.1.1.2.2020.45.52366.2551599.179568640/frames/5') @@ -1091,7 +1091,7 @@ # "Plugins can't read private tags from the configuration # file" This test will fail if DCMTK <= 3.6.1 (e.g. on Ubuntu # 16.04), or if Orthanc <= 1.5.8 - # https://bugs.orthanc-server.com/show_bug.cgi?id=168 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=168 UploadInstance(ORTHANC, 'Issue168.dcm') @@ -1199,7 +1199,7 @@ def test_bitbucket_issue_56(self): # "Case-insensitive matching over accents" => DICOMweb part # from AlexanderM on 2020-03-20 - # https://bugs.orthanc-server.com/show_bug.cgi?id=56 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=56 UploadInstance(ORTHANC, 'Issue56-NoPixelData.dcm') self.assertEqual(1, len(DoPost(ORTHANC, '/tools/find', { @@ -1498,7 +1498,7 @@ def test_issue_195(self): # This fails on Orthanc <= 1.9.2 - # https://bugs.orthanc-server.com/show_bug.cgi?id=195 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=195 a = UploadInstance(ORTHANC, 'Issue195.dcm') ['ID'] b = DoGet(ORTHANC, 'dicom-web/studies/1.2.276.0.7230010.3.1.2.8323329.13188.1620309604.848733/series/1.2.276.0.7230010.3.1.3.8323329.13188.1620309604.848734/instances/1.2.276.0.7230010.3.1.4.8323329.13188.1620309604.848735/metadata', headers = { 'Accept' : 'application/dicom+json' }) @@ -1724,7 +1724,7 @@ if IsPluginVersionAbove(ORTHANC, "dicom-web", 1, 13, 1) and IsOrthancVersionAbove(ORTHANC, 1, 12, 1): # This fails on DICOMweb <= 1.13 because of the "; q=.2", # since multiple accepts were not supported - # https://bugs.orthanc-server.com/show_bug.cgi?id=216 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=216 m = DoGet(ORTHANC, '/dicom-web/studies/%s/metadata' % studyUid, headers = { 'accept': 'text/html, image/gif, image/jpeg, */*; q=.2, */*; q=.2' })
--- a/Plugins/WSI/Run.py Thu Nov 16 16:12:15 2023 +0100 +++ b/Plugins/WSI/Run.py Wed Nov 22 07:28:23 2023 +0100 @@ -296,7 +296,7 @@ def test_concatenation(self): - # https://bugs.orthanc-server.com/show_bug.cgi?id=145 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=145 CallDicomizer([ GetDatabasePath('LenaGrayscale.png'), '--levels=1', ]) i = DoGet(ORTHANC, '/instances') self.assertEqual(1, len(i)) @@ -347,7 +347,7 @@ def test_pixel_spacing(self): - # https://bugs.orthanc-server.com/show_bug.cgi?id=139 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=139 CallDicomizer([ GetDatabasePath('LenaGrayscale.png'), # Image is 512x512 '--levels=4', '--tile-width=64', '--tile-height=64', '--max-size=0', '--imaged-width=20', '--imaged-height=10' ])
--- a/README Thu Nov 16 16:12:15 2023 +0100 +++ b/README Wed Nov 22 07:28:23 2023 +0100 @@ -175,7 +175,7 @@ Instructions for contributing to the Orthanc project are included in the Orthanc Book: -https://book.orthanc-server.com/developers/repositories.html +https://orthanc.uclouvain.be/book/developers/repositories.html Licensing
--- a/Tests/CheckDicomTls.py Thu Nov 16 16:12:15 2023 +0100 +++ b/Tests/CheckDicomTls.py Wed Nov 22 07:28:23 2023 +0100 @@ -207,7 +207,7 @@ def test_anonymous(self): # Fails on Orthanc <= 1.9.2 - # https://book.orthanc-server.com/faq/dicom-tls.html#secure-tls-connections-without-certificate + # https://orthanc.uclouvain.be/book/faq/dicom-tls.html#secure-tls-connections-without-certificate subprocess.check_call([ FindExecutable('echoscu'), ORTHANC['Server'],
--- a/Tests/Tests.py Thu Nov 16 16:12:15 2023 +0100 +++ b/Tests/Tests.py Wed Nov 22 07:28:23 2023 +0100 @@ -4059,7 +4059,7 @@ def test_bitbucket_issue_44(self): - # https://bugs.orthanc-server.com/show_bug.cgi?id=44 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=44 UploadInstance(_REMOTE, 'Issue44/Monochrome1.dcm') UploadInstance(_REMOTE, 'Issue44/Monochrome2.dcm') @@ -4099,7 +4099,7 @@ def test_bitbucket_issue_42(self): - # https://bugs.orthanc-server.com/show_bug.cgi?id=42 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=42 # This test fails on DCMTK 3.6.0, but succeeds in DCMTK 3.6.1 snapshots and DCMTK 3.6.2 UploadInstance(_REMOTE, 'Issue42.dcm')['ID'] modified = DoPost(_REMOTE, @@ -4111,7 +4111,7 @@ def test_rest_find_limit(self): # Check the "Since" and "Limit" parameters in URI "/tools/find" - # Related to issue 53: https://bugs.orthanc-server.com/show_bug.cgi?id=53 + # Related to issue 53: https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=53 # Upload 6 instances brainix = [] @@ -4180,7 +4180,7 @@ def test_bitbucket_issue_46(self): # "PHI remaining after anonymization" - # https://bugs.orthanc-server.com/show_bug.cgi?id=46 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=46 def GetAnonymizedTags(study, version): anonymized = DoPost(_REMOTE, '/studies/%s/anonymize' % study, @@ -4269,7 +4269,7 @@ # Case-insensitive matching over accents. This test assumes # that the "CaseSensitivePN" configuration option of Orthanc # is set to "false" (default value). - # https://bugs.orthanc-server.com/show_bug.cgi?id=56 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=56 def Check(name, expected, expectedSensitive): a = CallFindScu([ '-k', '0008,0005=ISO_IR 192', # Use UTF-8 @@ -4555,7 +4555,7 @@ def test_bitbucket_issue_94(self): # "a simple instance modification should not modify FrameOfReferenceUID + ..." - # https://bugs.orthanc-server.com/show_bug.cgi?id=94 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=94 i = UploadInstance(_REMOTE, 'Issue94.dcm')['ID'] source = DoGet(_REMOTE, '/instances/%s/attachments/dicom/data' % i) @@ -5255,7 +5255,7 @@ def test_issue_95_encodings(self): - # https://bugs.orthanc-server.com/show_bug.cgi?id=95 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=95 # Check out image: "../Database/Encodings/DavidClunie/charsettests.screenshot.png" # Very useful tool: "file2" from package "file-kanji" @@ -5334,7 +5334,7 @@ def test_bitbucket_issue_131(self): # "Orthanc PACS silently fails to C-MOVE due to duplicate # StudyInstanceUID in it's database." - # https://bugs.orthanc-server.com/show_bug.cgi?id=131 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=131 # Insert 2 instances, with the same StudyInstanceUID, but with # different patient IDs. Orthanc will create 2 distincts @@ -5547,7 +5547,7 @@ def test_bitbucket_issue_140(self): # "Modifying private tags with REST API changes VR from LO to # UN." This test fails if DCMTK <= 3.6.1 (e.g. fails on Ubuntu 16.04). - # https://bugs.orthanc-server.com/show_bug.cgi?id=140 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=140 source = UploadInstance(_REMOTE, 'Issue140.dcm') ['ID'] series = DoGet(_REMOTE, '/instances/%s' % source) ['ParentSeries'] @@ -5628,7 +5628,7 @@ def test_bitbucket_issue_141(self): - # https://bugs.orthanc-server.com/show_bug.cgi?id=141 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=141 a = UploadInstance(_REMOTE, 'Issue141.dcm') ['ID'] study = '494c8037-b237f263-d8f15075-c8cb2280-daf39bd1' @@ -5654,7 +5654,7 @@ def test_log_level(self): - # https://bugs.orthanc-server.com/show_bug.cgi?id=65 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=65 original = DoGet(_REMOTE, '/tools/log-level') DoPut(_REMOTE, '/tools/log-level', 'default') @@ -6024,7 +6024,7 @@ def test_bitbucket_issue_154(self): # "Matching against list of UID-s by C-MOVE" - # https://bugs.orthanc-server.com/show_bug.cgi?id=154 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=154 a = UploadInstance(_REMOTE, 'Issue154-d1.dcm') ['ID'] b = UploadInstance(_REMOTE, 'Issue154-d2.dcm') ['ID'] @@ -7705,7 +7705,7 @@ def test_issue_195(self): # This fails on Orthanc <= 1.9.2 - # https://bugs.orthanc-server.com/show_bug.cgi?id=195 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=195 a = UploadInstance(_REMOTE, 'Issue195.dcm')['ID'] b = DoGet(_REMOTE, '/instances/%s/file' % a, headers = { 'Accept' : 'application/dicom+json' }) @@ -7790,7 +7790,7 @@ def test_issue_146(self): # "Update Anonyization to 2019c" - # https://bugs.orthanc-server.com/show_bug.cgi?id=146 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=146 def GetTags(study, params): a = DoPost(_REMOTE, '/studies/%s/anonymize' % study, params) ['ID'] @@ -8788,7 +8788,7 @@ def test_issue_200(self): # https://groups.google.com/g/orthanc-users/c/9CTLsL-JqDw/m/2I0xgyYHBAAJ - # https://bugs.orthanc-server.com/show_bug.cgi?id=200 + # https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=200 self.assertEqual(0, len(DoGet(_REMOTE, '/changes') ['Changes'])) self.assertEqual(0, len(DoGet(_REMOTE, '/changes?last') ['Changes'])) u = UploadInstance(_REMOTE, 'DummyCT.dcm') ['ID']