Mercurial > hg > orthanc-tests
comparison GenerateConfigurationForTests.py @ 92:dbcbffb889da
test_findscu_encoding
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 08 Dec 2016 12:46:04 +0100 |
parents | afbac3eb28a5 |
children | a807a4699eb4 |
comparison
equal
deleted
inserted
replaced
91:ba5619c3941d | 92:dbcbffb889da |
---|---|
84 # Remove the C-style comments | 84 # Remove the C-style comments |
85 nocomment = re.sub('/\*.*?\*/', '', nocomment, 0, re.DOTALL | re.MULTILINE) | 85 nocomment = re.sub('/\*.*?\*/', '', nocomment, 0, re.DOTALL | re.MULTILINE) |
86 | 86 |
87 config = json.loads(nocomment) | 87 config = json.loads(nocomment) |
88 | 88 |
89 del config['DefaultEncoding'] | |
90 | |
89 config['AllowFindSopClassesInStudy'] = True | 91 config['AllowFindSopClassesInStudy'] = True |
90 config['AuthenticationEnabled'] = True | 92 config['AuthenticationEnabled'] = True |
91 config['DefaultEncoding'] = 'Windows1251' # For test_issue_32 | |
92 config['DicomAet'] = 'ORTHANC' | 93 config['DicomAet'] = 'ORTHANC' |
93 config['DicomAssociationCloseDelay'] = 0 | 94 config['DicomAssociationCloseDelay'] = 0 |
94 config['DicomModalities'] = { 'orthanctest' : [ 'ORTHANCTEST', ip, 5001 ] } | 95 config['DicomModalities'] = { 'orthanctest' : [ 'ORTHANCTEST', ip, 5001 ] } |
95 config['DicomPort'] = args.dicom | 96 config['DicomPort'] = args.dicom |
96 config['HttpCompressionEnabled'] = False | 97 config['HttpCompressionEnabled'] = False |