Mercurial > hg > orthanc-tests
annotate PerfsDb/Tests/ToolsFind.py @ 280:5daa3896981c
testing storage commitment reports
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 10 Mar 2020 20:54:57 +0100 |
parents | dbc42a03ee75 |
children |
rev | line source |
---|---|
162 | 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 ) |