comparison GenerateConfigurationForTests.py @ 35:f2dcf96fec51

parameter
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 17 Aug 2015 16:05:33 +0200
parents e07deb07289d
children 97acfdf0dbce
comparison
equal deleted inserted replaced
34:1047d7bc5210 35:f2dcf96fec51
82 config = re.sub(r'("RegisteredUsers"\s*:)\s*{', r'\1 { "alice" : "orthanctest"', config) 82 config = re.sub(r'("RegisteredUsers"\s*:)\s*{', r'\1 { "alice" : "orthanctest"', config)
83 config = re.sub(r'("DicomModalities"\s*:)\s*{', r'\1 { "orthanctest" : [ "%s", "%s", %d ]' % 83 config = re.sub(r'("DicomModalities"\s*:)\s*{', r'\1 { "orthanctest" : [ "%s", "%s", %d ]' %
84 ('ORTHANCTEST', ip, 5001), config) 84 ('ORTHANCTEST', ip, 5001), config)
85 config = re.sub(r'("OrthancPeers"\s*:)\s*{', r'\1 { "peer" : [ "http://%s:%d/", "%s", "%s" ]' % 85 config = re.sub(r'("OrthancPeers"\s*:)\s*{', r'\1 { "peer" : [ "http://%s:%d/", "%s", "%s" ]' %
86 (ip, 5000, 'alice', 'orthanctest'), config) 86 (ip, 5000, 'alice', 'orthanctest'), config)
87 config = re.sub(r'("HttpCompressionEnabled"\s*:)\s*true', r'\1 false', config)
87 88
88 # Enable case-insensitive PN (the default on versions <= 0.8.6) 89 # Enable case-insensitive PN (the default on versions <= 0.8.6)
89 config = re.sub(r'("CaseSensitivePN"\s*:)\s*true', r'\1 false', config) 90 config = re.sub(r'("CaseSensitivePN"\s*:)\s*true', r'\1 false', config)
90 91
91 if args.plugins != None: 92 if args.plugins != None: