changeset 466:28a2c9452ec9 more-tags

extra test with empty filter ModalitiesInStudy
author Alain Mazy <am@osimis.io>
date Wed, 20 Apr 2022 14:44:29 +0200
parents 4e944cedf1a9
children fc1c3ffed470
files Tests/Tests.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Tests/Tests.py	Thu Mar 31 16:17:18 2022 +0200
+++ b/Tests/Tests.py	Wed Apr 20 14:44:29 2022 +0200
@@ -1602,6 +1602,11 @@
             'ModalitiesInStudy' : 'US\\CT' })
         self.assertEqual(1, len(t))
 
+        t = DoPost(_REMOTE, '/modalities/orthanctest/find-study', {
+            'PatientID' : 'B9uTHKOZ', 
+            'ModalitiesInStudy' : '' })
+        self.assertEqual(1, len(t))
+
         # Test the "find-series" level
         t = DoPost(_REMOTE, '/modalities/orthanctest/find-series', {
             'PatientID' : 'B9uTHKOZ',