Mercurial > hg > orthanc-tests
annotate PerfsDb/Tests/ToolsFind.py @ 234:93cd4fdd4a67
test_anonymize_relationships_4
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 05 Apr 2019 17:04:37 +0200 |
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 ) |