Mercurial > hg > orthanc-tests
changeset 353:49f2943544eb
CheckFind on echo
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 03 Dec 2020 15:59:08 +0100 |
parents | 3d406c0261fc |
children | 88f076b906ca |
files | Tests/Tests.py |
diffstat | 1 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Tests/Tests.py Thu Dec 03 11:51:06 2020 +0100 +++ b/Tests/Tests.py Thu Dec 03 15:59:08 2020 +0100 @@ -1591,9 +1591,18 @@ # New in Orthanc 1.8.1 DoPost(_REMOTE, '/tools/dicom-echo', [ - _LOCAL["DicomAet"], _LOCAL["Server"], _LOCAL["DicomPort"] ]) + _LOCAL['DicomAet'], _LOCAL['Server'], _LOCAL['DicomPort'] ]) DoPost(_REMOTE, '/tools/dicom-echo', DoGet(_REMOTE, '/modalities/orthanctest/configuration')) + # Use the 'CheckFind' new option in Orthanc 1.8.1 + DoPost(_REMOTE, '/modalities/self/echo', { 'CheckFind' : True }) + DoPost(_REMOTE, '/tools/dicom-echo', { + 'AET' : _REMOTE['DicomAet'], + 'Host' : _REMOTE['Server'], + 'Port' : _REMOTE['DicomPort'], + 'CheckFind' : True + }) + def test_xml(self): json = DoGet(_REMOTE, '/tools', headers = { 'accept' : 'application/json' })