Mercurial > hg > orthanc-tests
diff GenerateConfigurationForTests.py @ 13:7b69a561f4d3
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 18 Jun 2015 16:22:44 +0200 |
parents | c660a64ce2dd |
children | 2a29bcff60a7 |
line wrap: on
line diff
--- a/GenerateConfigurationForTests.py Thu Jun 18 14:33:01 2015 +0200 +++ b/GenerateConfigurationForTests.py Thu Jun 18 16:22:44 2015 +0200 @@ -80,6 +80,9 @@ config = re.sub(r'("OrthancPeers"\s*:)\s*{', r'\1 { "peer" : [ "http://%s:%d/", "%s", "%s" ]' % (ip, 5000, 'alice', 'orthanctest'), config) +# Enable case-insensitive PN (the default on versions <= 0.8.6) +config = re.sub(r'("CaseSensitivePN"\s*:)\s*true', r'\1 false', config) + with open(args.target, 'wt') as f: f.write(config)