Mercurial > hg > orthanc-tests
diff NewTests/Concurrency/test_concurrency.py @ 629:ed0a51317c0b
fix url starting with '/'
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 28 Feb 2024 09:57:25 +0100 |
parents | 543e372d2265 |
children |
line wrap: on
line diff
--- a/NewTests/Concurrency/test_concurrency.py Thu Feb 22 09:29:09 2024 +0100 +++ b/NewTests/Concurrency/test_concurrency.py Wed Feb 28 09:57:25 2024 +0100 @@ -151,7 +151,7 @@ self.assertEqual(0, len(self.o.series.get_all_ids())) self.assertEqual(0, len(self.o.instances.get_all_ids())) - stats = self.o.get_json("/statistics") + stats = self.o.get_json("statistics") self.assertEqual(0, stats.get("CountPatients")) self.assertEqual(0, stats.get("CountStudies")) self.assertEqual(0, stats.get("CountSeries")) @@ -203,7 +203,7 @@ # self.assertEqual(2, len(self.o.series.get_all_ids())) # self.assertEqual(50, len(self.o.instances.get_all_ids())) - # stats = self.o.get_json("/statistics") + # stats = self.o.get_json("statistics") # self.assertEqual(1, stats.get("CountPatients")) # self.assertEqual(1, stats.get("CountStudies")) # self.assertEqual(2, stats.get("CountSeries")) @@ -241,7 +241,7 @@ self.assertEqual(2 * (1 + workers_count * repeat_count), len(self.o.series.get_all_ids())) self.assertEqual(50 * (1 + workers_count * repeat_count), len(self.o.instances.get_all_ids())) - stats = self.o.get_json("/statistics") + stats = self.o.get_json("statistics") self.assertEqual(1 + workers_count * repeat_count, stats.get("CountPatients")) self.assertEqual(1 + workers_count * repeat_count, stats.get("CountStudies")) self.assertEqual(2 * (1 + workers_count * repeat_count), stats.get("CountSeries"))