Mercurial > hg > orthanc-tests
comparison Tests/Tests.py @ 269:b2d8582b9181
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 26 Feb 2020 13:21:50 +0100 |
parents | c8d79d8258cd |
children | 31e1e49df380 |
comparison
equal
deleted
inserted
replaced
268:c8d79d8258cd | 269:b2d8582b9181 |
---|---|
5127 'StudyInstanceUID' : '4.5.6' # This is the actual value | 5127 'StudyInstanceUID' : '4.5.6' # This is the actual value |
5128 }, | 5128 }, |
5129 'Normalize' : normalize, | 5129 'Normalize' : normalize, |
5130 })) | 5130 })) |
5131 | 5131 |
5132 # Wildcard matching is not allowed for this VR | |
5132 # This test fails on Orthanc <= 1.5.8 | 5133 # This test fails on Orthanc <= 1.5.8 |
5133 self.assertEqual(0, CountAnswers({ | 5134 self.assertRaises(Exception, lambda: CountAnswers({ |
5134 'Level' : level, | 5135 'Level' : level, |
5135 'Query' : { | 5136 'Query' : { |
5136 'StudyInstanceUID' : '*' # Wildcard matching not allowed for this VR | 5137 'StudyInstanceUID' : '*' |
5137 }, | 5138 }, |
5138 'Normalize' : normalize, | 5139 'Normalize' : normalize, |
5139 })) | 5140 })) |
5140 | 5141 |
5141 | 5142 |