Mercurial > hg > orthanc-tests
diff Tests/Run.py @ 21:2a29bcff60a7
tests of image decoding
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 22 Jun 2015 14:14:37 +0200 |
parents | 7b69a561f4d3 |
children | cde1691838d3 |
line wrap: on
line diff
--- a/Tests/Run.py Mon Jun 22 09:47:25 2015 +0200 +++ b/Tests/Run.py Mon Jun 22 14:14:37 2015 +0200 @@ -84,7 +84,7 @@ if args.docker: args.server = GetDockerHostAddress() -CONFIG = '/tmp/Configuration.json' +CONFIG = '/tmp/IntegrationTestsConfiguration.json' subprocess.check_call([ 'Orthanc', '--config=%s' % CONFIG ]) with open(CONFIG, 'rt') as f: @@ -98,6 +98,7 @@ config = re.sub(r'("RemoteAccessAllowed"\s*:)\s*false', r'\1 true', config) config = re.sub(r'("AuthenticationEnabled"\s*:)\s*false', r'\1 true', config) config = re.sub(r'("RegisteredUsers"\s*:)\s*{', r'\1 { "alice" : "orthanctest"', config) +config = re.sub(r'("DicomAssociationCloseDelay"\s*:)\s*[0-9]*', r'\1 0', config) config = re.sub(r'("DicomModalities"\s*:)\s*{', r'\1 { "orthanc" : [ "%s", "%s", "%s" ]' % (args.aet, args.server, args.dicom), config)