# HG changeset patch # User Sebastien Jodogne # Date 1582719710 -3600 # Node ID b2d8582b9181d2109f8cd436267906980aab3122 # Parent c8d79d8258cd442f576a08c2214df4ad2998086d fix diff -r c8d79d8258cd -r b2d8582b9181 Tests/Tests.py --- a/Tests/Tests.py Wed Feb 26 11:58:33 2020 +0100 +++ b/Tests/Tests.py Wed Feb 26 13:21:50 2020 +0100 @@ -5129,11 +5129,12 @@ 'Normalize' : normalize, })) + # Wildcard matching is not allowed for this VR # This test fails on Orthanc <= 1.5.8 - self.assertEqual(0, CountAnswers({ + self.assertRaises(Exception, lambda: CountAnswers({ 'Level' : level, 'Query' : { - 'StudyInstanceUID' : '*' # Wildcard matching not allowed for this VR + 'StudyInstanceUID' : '*' }, 'Normalize' : normalize, }))