changeset 67:e711ba6af7ea Orthanc-0.9.5

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 02 Dec 2015 11:42:06 +0100
parents 821d9eb73c45 (current diff) 09fc27e0899a (diff)
children a8d1a347a701
files Tests/Tests.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Tests/Tests.py	Wed Dec 02 11:41:22 2015 +0100
+++ b/Tests/Tests.py	Wed Dec 02 11:42:06 2015 +0100
@@ -2528,7 +2528,10 @@
         t = DoGet(_REMOTE, '/instances/%s/tags' % j)
         with open(GetDatabasePath('PrivateTagsFull.json'), 'r') as f:
             a = json.loads(f.read())
-            self.assertEqual(a, t)
+
+            aa = json.dumps(a).replace('2e+022', '2e+22')
+            tt = json.dumps(t).replace('2e+022', '2e+22')
+            self.assertEqual(aa, tt)
 
 
     def test_batch_archive(self):