diff GenerateConfigurationForTests.py @ 22:8f4b70c89467

readme
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 22 Jun 2015 16:29:08 +0200
parents 2a29bcff60a7
children e07deb07289d
line wrap: on
line diff
--- a/GenerateConfigurationForTests.py	Mon Jun 22 14:14:37 2015 +0200
+++ b/GenerateConfigurationForTests.py	Mon Jun 22 16:29:08 2015 +0200
@@ -75,6 +75,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'("DicomAssociationCloseDelay"\s*:)\s*[0-9]*', r'\1 0', config)
+config = re.sub(r'("DefaultEncoding"\s*:)\s*".*?"', r'\1 "Windows1251"', config)  # For test_issue_32
 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)