changeset 798:1d3b3a702a4a

fix
author Alain Mazy <am@orthanc.team>
date Tue, 18 Mar 2025 09:29:59 +0100
parents 2f29c946231a
children 93b7e398121a
files Tests/Tests.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Tests/Tests.py	Tue Mar 18 09:23:55 2025 +0100
+++ b/Tests/Tests.py	Tue Mar 18 09:29:59 2025 +0100
@@ -11976,4 +11976,5 @@
                                 _REMOTE['Server'], str(_REMOTE['DicomPort']),
                                 GetDatabasePath('TransferSyntaxes/1.2.840.10008.1.2.1.99.dcm') ])
             attachments = DoGet(_REMOTE, '/instances/' + instanceId + '/attachments/dicom/info/')
-            self.assertEqual(181071, int(attachments['UncompressedSize']))
+            self.assertLessEqual(181071, int(attachments['UncompressedSize']))
+            self.assertGreaterEqual(181073, int(attachments['UncompressedSize']))  # there might be some padding added