Mercurial > hg > orthanc-tests
annotate PerfsDb/Tests/ToolsFind.py @ 302:22b6dd0f8c84
test_modify_transcode_study
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 18 May 2020 21:37:39 +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 ) |