Mercurial > hg > orthanc-tests
view PerfsDb/Tests/ToolsFind.py @ 793:f0cc40ca6fb1 attach-custom-data
new deflated tests
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Mon, 17 Mar 2025 17:02:56 +0100 |
| parents | dbc42a03ee75 |
| children |
line wrap: on
line source
from Test import Test class TestToolsFindStudyByStudyInstanceUID(Test): def __init__(self, name:str = "ToolsFindStudyByStudyInstanceUID"): super().__init__(name) def test(self): self._orthanc.studies.find( studyInstanceUid="99999.99999" ) class TestToolsFindPatientByPatientID(Test): def __init__(self, name:str = "ToolsFindPatientByPatientID"): super().__init__(name) def test(self): self._orthanc.patients.find( dicomPatientId="99999" )
