Mercurial > hg > orthanc-tests
diff GenerateConfigurationForTests.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 | 8f4b70c89467 |
line wrap: on
line diff
--- a/GenerateConfigurationForTests.py Mon Jun 22 09:47:25 2015 +0200 +++ b/GenerateConfigurationForTests.py Mon Jun 22 14:14:37 2015 +0200 @@ -74,6 +74,7 @@ config = re.sub(r'("DicomAet"\s*:)\s*".*?"', r'\1 "ORTHANC"', config) 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'("DicomAssociationCloseDelay"\s*:)\s*[0-9]*', r'\1 0', config) config = re.sub(r'("RegisteredUsers"\s*:)\s*{', r'\1 { "alice" : "orthanctest"', config) config = re.sub(r'("DicomModalities"\s*:)\s*{', r'\1 { "orthanctest" : [ "%s", "%s", %d ]' % ('ORTHANCTEST', ip, 5001), config)