# HG changeset patch # User Alain Mazy # Date 1728402716 -7200 # Node ID 998f83ddd4dec6277774b7d7d63781b11606cebf # Parent c11496bd7eaa70ec61012e1a2f027f00a4116a90 fix ordering tests diff -r c11496bd7eaa -r 998f83ddd4de Tests/Tests.py --- a/Tests/Tests.py Mon Oct 07 18:20:59 2024 +0200 +++ b/Tests/Tests.py Tue Oct 08 17:51:56 2024 +0200 @@ -10985,13 +10985,13 @@ 'OrderBy' : [ { 'Type': 'DicomTag', - 'Key': 'BodyPartExamined', # in Knee but not in Brainix => Brainix is first because NULL is in front of other values + 'Key': 'BodyPartExamined', # in Knee but not in Brainix => Brainix is last because NULL are pushed at the end 'Direction': 'ASC' } ] }) - self.assertTrue(a[0] == brainixEpiSeriesId or a[0] == brainixFlairSeriesId) - self.assertTrue(a[3] == kneeT1SeriesId or a[3] == kneeT2SeriesId) + self.assertTrue(a[0] == kneeT1SeriesId or a[0] == kneeT2SeriesId) + self.assertTrue(a[3] == brainixEpiSeriesId or a[3] == brainixFlairSeriesId) # order by metadata a = DoPost(_REMOTE, '/tools/find', { 'Level' : 'Series',