comparison Tests/Tests.py @ 355:95ee4e79825b Orthanc-1.8.1

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 07 Dec 2020 11:49:44 +0100
parents 88f076b906ca
children 18597ca05e48
comparison
equal deleted inserted replaced
354:88f076b906ca 355:95ee4e79825b
1589 DoPost(_REMOTE, '/modalities/orthanctest/echo') 1589 DoPost(_REMOTE, '/modalities/orthanctest/echo')
1590 self.assertRaises(Exception, lambda: DoGet(_REMOTE, '/modalities/nope/echo')) 1590 self.assertRaises(Exception, lambda: DoGet(_REMOTE, '/modalities/nope/echo'))
1591 1591
1592 # New in Orthanc 1.8.1 1592 # New in Orthanc 1.8.1
1593 DoPost(_REMOTE, '/tools/dicom-echo', [ 1593 DoPost(_REMOTE, '/tools/dicom-echo', [
1594 _LOCAL['DicomAet'], _LOCAL['Server'], _LOCAL['DicomPort'] ]) 1594 _REMOTE['DicomAet'], _REMOTE['Server'], _REMOTE['DicomPort'] ])
1595 DoPost(_REMOTE, '/tools/dicom-echo', DoGet(_REMOTE, '/modalities/orthanctest/configuration')) 1595 DoPost(_REMOTE, '/tools/dicom-echo', DoGet(_REMOTE, '/modalities/orthanctest/configuration'))
1596 1596
1597 # Use the 'CheckFind' new option in Orthanc 1.8.1 1597 # Use the 'CheckFind' new option in Orthanc 1.8.1
1598 DoPost(_REMOTE, '/modalities/self/echo', { 'CheckFind' : True }) 1598 DoPost(_REMOTE, '/modalities/self/echo', { 'CheckFind' : True })
1599 DoPost(_REMOTE, '/tools/dicom-echo', { 1599 DoPost(_REMOTE, '/tools/dicom-echo', {