Mercurial > hg > orthanc-tests
changeset 65:09fc27e0899a
patch for testing windows builds
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 27 Nov 2015 08:36:32 +0100 |
parents | 369e439cdfd6 |
children | e711ba6af7ea |
files | Tests/Tests.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Tests/Tests.py Thu Nov 26 18:52:40 2015 +0100 +++ b/Tests/Tests.py Fri Nov 27 08:36:32 2015 +0100 @@ -2523,7 +2523,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):