comparison PerfsDb/Tests/ToolsFind.py @ 162:dbc42a03ee75

more perfs db tests
author am@osimis.io
date Mon, 20 Aug 2018 14:23:54 +0200
parents
children
comparison
equal deleted inserted replaced
161:27b3b0df5f90 162:dbc42a03ee75
1 from Test import Test
2
3 class TestToolsFindStudyByStudyInstanceUID(Test):
4
5 def __init__(self, name:str = "ToolsFindStudyByStudyInstanceUID"):
6 super().__init__(name)
7
8 def test(self):
9 self._orthanc.studies.find(
10 studyInstanceUid="99999.99999"
11 )
12
13 class TestToolsFindPatientByPatientID(Test):
14
15 def __init__(self, name:str = "ToolsFindPatientByPatientID"):
16 super().__init__(name)
17
18 def test(self):
19 self._orthanc.patients.find(
20 dicomPatientId="99999"
21 )