diff Tests/Tests.py @ 247:1abdab0ba0e6

test_modifying_missing_patientid
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Jun 2019 10:50:46 +0200
parents cccf697a4e13
children 05b77ade5e1d
line wrap: on
line diff
--- 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', {})