diff NewTests/main.py @ 475:fe37cf5e9c02

force docker volume rm
author Alain Mazy <am@osimis.io>
date Tue, 03 May 2022 15:24:16 +0200
parents 6917a26881ed
children 73d41c681568
line wrap: on
line diff
--- a/NewTests/main.py	Mon May 02 17:05:42 2022 +0200
+++ b/NewTests/main.py	Tue May 03 15:24:16 2022 +0200
@@ -20,7 +20,8 @@
     parser = argparse.ArgumentParser(description='Executes Orthanc integration tests.')
     parser.add_argument('-k', '--pattern', dest='test_name_patterns', action='append', type=str, help='a test pattern (ex: Housekeeper.toto')
     parser.add_argument('--orthanc_under_tests_hostname', type=str, default="localhost", help="orthanc under tests hostname")
-    parser.add_argument('--orthanc_under_tests_http_port', type=int, default=8042, help="orthanc under tests HTTP port")
+    parser.add_argument('--orthanc_under_tests_http_port', type=int, default=8052, help="orthanc under tests HTTP port")
+    parser.add_argument('--orthanc_under_tests_dicom_port', type=int, default=4252, help="orthanc under tests DICOM port")
     parser.add_argument('--orthanc_under_tests_exe', type=str, default=None, help="path to the orthanc executable (if it must be launched by this script)")
     parser.add_argument('--orthanc_previous_version_exe', type=str, default=None, help="path to the orthanc executable used to prepare previous version of storage/db (if it must be launched by this script and if different from orthanc_under_tests_exe)")
     parser.add_argument('--orthanc_under_tests_docker_image', type=str, default=None, help="Docker image of the orthanc under tests (if it must be launched by this script)")
@@ -37,6 +38,7 @@
 
     Helpers.orthanc_under_tests_hostname = args.orthanc_under_tests_hostname
     Helpers.orthanc_under_tests_http_port = args.orthanc_under_tests_http_port
+    Helpers.orthanc_under_tests_dicom_port = args.orthanc_under_tests_dicom_port
     Helpers.plugins = args.plugins
 
     Helpers.orthanc_under_tests_exe = args.orthanc_under_tests_exe