# HG changeset patch # User Sebastien Jodogne # Date 1597385969 -7200 # Node ID 05f48c19c60d35b27281354331f0d4bfd68237df # Parent b7c2fb8e1b571fc1c99ce5629f06a6639b207804 Test "Retrieve AE Title" is returned by C-FIND SCP diff -r b7c2fb8e1b57 -r 05f48c19c60d Tests/Tests.py --- a/Tests/Tests.py Wed Aug 12 20:30:28 2020 +0200 +++ b/Tests/Tests.py Fri Aug 14 08:19:29 2020 +0200 @@ -1213,6 +1213,14 @@ studies = re.findall('\(0008,0020\).*?\[\s*(.*?)\s*\]', i) self.assertEqual(1, len(studies)) self.assertTrue('19980312' in studies) + + # Test that "Retrieve AE Title (0008,0054)" is present, which + # was *not* the case in Orthanc <= 1.7.2 + i = CallFindScu([ '-k', '0008,0052=INSTANCE' ]) + instances = re.findall('\(0008,0054\).*?\[\s*(.*?)\s*\]', i) + self.assertEqual(2, len(instances)) + self.assertEqual('ORTHANC', instances[0].strip()) + self.assertEqual('ORTHANC', instances[1].strip()) def test_incoming_findscu_2(self):