changeset 157:ac14100ffbd7

merge
author am@osimis.io
date Thu, 16 Aug 2018 17:14:05 +0200
parents f1a75985caa8 (current diff) 4a533d003080 (diff)
children df1f9946571c
files
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Tests/Tests.py	Thu Aug 16 17:13:32 2018 +0200
+++ b/Tests/Tests.py	Thu Aug 16 17:14:05 2018 +0200
@@ -3794,3 +3794,12 @@
         t2 = DoGet(_REMOTE, '/instances/%s/metadata/TransferSyntax' % instances[1])
         self.assertEqual('1.2.840.10008.1.2.4.90', t1)
         self.assertEqual(t1, t2);
+
+
+    def test_find_group_length(self):
+        # Orthanc <= 1.4.1 fails to answer C-FIND queries that contain
+        # one of the Generic Group Length tags (*, 0x0000)
+        a = UploadInstance(_REMOTE, 'Brainix/Flair/IM-0001-0001.dcm')['ID']
+        result = CallFindScu([ '-k', '0008,0052=STUDY', '-k', '0008,0000=80' ])
+        self.assertFalse('UnableToProcess' in result)
+        self.assertFalse('E:' in result)