changeset 247:1abdab0ba0e6

test_modifying_missing_patientid
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Jun 2019 10:50:46 +0200
parents e4e0e2ff91ae
children 26c3a1ed935a
files Database/2019-06-17-VedranZdesic.dcm Tests/Tests.py
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
Binary file Database/2019-06-17-VedranZdesic.dcm has changed
--- a/Tests/Tests.py	Fri Jun 21 18:25:44 2019 +0200
+++ b/Tests/Tests.py	Tue Jun 25 10:50:46 2019 +0200
@@ -4740,3 +4740,9 @@
         tagsB = DoGet(_REMOTE, '/instances/%s/tags?short' % b)
         self.assertEqual(tagsA['0008,0005'], tagsB['0008,0005'])
         self.assertEqual(tagsA['0008,1030'], tagsB['0008,1030'])
+
+
+    def test_modifying_missing_patientid(self):
+        # https://groups.google.com/d/msg/orthanc-users/aphG_h1AHVg/rfOTtTPTAgAJ
+        UploadInstance(_REMOTE, '2019-06-17-VedranZdesic.dcm')
+        DoPost(_REMOTE, '/studies/0c4aca1d-c107a241-6659d6aa-594c674a-a468b94a/modify', {})