Mercurial > hg > orthanc-tests
diff Plugins/DicomWeb/Run.py @ 277:95c47602990c
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 04 Mar 2020 13:10:29 +0100 |
parents | cc10eefaf908 |
children | 514785dacd6d |
line wrap: on
line diff
--- a/Plugins/DicomWeb/Run.py Wed Mar 04 08:56:17 2020 +0100 +++ b/Plugins/DicomWeb/Run.py Wed Mar 04 13:10:29 2020 +0100 @@ -227,6 +227,11 @@ def test_server_get(self): + try: + DoDelete(ORTHANC, '/dicom-web/servers/google') # If "AllWindowsStart.sh" is used + except: + pass + UploadInstance(ORTHANC, 'Knee/T1/IM-0001-0001.dcm') self.assertEqual(1, len(DoGet(ORTHANC, '/dicom-web/servers'))) @@ -686,6 +691,11 @@ except: pass + try: + DoDelete(ORTHANC, '/dicom-web/servers/google') # If "AllWindowsStart.sh" is used + except: + pass + l = DoGet(ORTHANC, '/dicom-web/servers') self.assertEqual(1, len(l)) self.assertTrue('sample' in l)