Mercurial > hg > orthanc-tests
changeset 35:f2dcf96fec51
parameter
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 17 Aug 2015 16:05:33 +0200 |
parents | 1047d7bc5210 |
children | 42ad759ef40a |
files | GenerateConfigurationForTests.py Tests/Run.py |
diffstat | 2 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/GenerateConfigurationForTests.py Mon Aug 10 10:02:18 2015 +0200 +++ b/GenerateConfigurationForTests.py Mon Aug 17 16:05:33 2015 +0200 @@ -84,6 +84,7 @@ ('ORTHANCTEST', ip, 5001), config) config = re.sub(r'("OrthancPeers"\s*:)\s*{', r'\1 { "peer" : [ "http://%s:%d/", "%s", "%s" ]' % (ip, 5000, 'alice', 'orthanctest'), config) +config = re.sub(r'("HttpCompressionEnabled"\s*:)\s*true', r'\1 false', config) # Enable case-insensitive PN (the default on versions <= 0.8.6) config = re.sub(r'("CaseSensitivePN"\s*:)\s*true', r'\1 false', config)
--- a/Tests/Run.py Mon Aug 10 10:02:18 2015 +0200 +++ b/Tests/Run.py Mon Aug 17 16:05:33 2015 +0200 @@ -97,6 +97,7 @@ config = re.sub(r'("HttpPort"\s*:)\s*.*?,', r'\1 5000,', 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'("HttpCompressionEnabled"\s*:)\s*true', r'\1 false', 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" ]' %