Mercurial > hg > orthanc-tests
view PerfsDb/Tests/ToolsFind.py @ 644:5806bd442a37 large-queries
new tests for /extended-api-v1/changes
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Thu, 11 Apr 2024 19:04:16 +0200 |
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" )