Mercurial > hg > orthanc-tests
diff Plugins/DicomWeb/Run.py @ 229:a4804d3f7499 Orthanc-1.5.6
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 27 Feb 2019 15:43:10 +0100 |
parents | 84244277413b |
children | 8980bd19e31d |
line wrap: on
line diff
--- a/Plugins/DicomWeb/Run.py Wed Feb 27 15:41:35 2019 +0100 +++ b/Plugins/DicomWeb/Run.py Wed Feb 27 15:43:10 2019 +0100 @@ -435,10 +435,6 @@ self.assertTrue(url.startswith(prefix)) p = DoGetMultipart(ORTHANC, url[len(prefix):]) - print(p) - print(len(p)) - for i in len(p): - print(len(p[i])) self.assertEqual(2, len(p)) # There are 2 fragments in this image self.assertEqual(4, len(p[0])) @@ -563,7 +559,6 @@ self.assertRaises(Exception, lambda: DoGetMultipart(ORTHANC, '%s/frames/%d' % (uri, 0))) self.assertRaises(Exception, lambda: DoGetMultipart(ORTHANC, '%s/frames/%d' % (uri, 2))) - print('%s/frames/%d' % (uri, 1)) b = DoGetMultipart(ORTHANC, '%s/frames/%d' % (uri, 1)) self.assertEqual(1, len(b)) self.assertEqual(256 * 256 * 2, len(b[0]))