Mercurial > hg > orthanc-tests
comparison GenerateConfigurationForTests.py @ 224:f5414254ccaa
test_bitbucket_issue_113
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 26 Feb 2019 18:16:12 +0100 |
parents | dc9682d80d22 |
children | f2af7bdc9bf8 |
comparison
equal
deleted
inserted
replaced
223:f5aca0917d60 | 224:f5414254ccaa |
---|---|
96 # Remove the C-style comments | 96 # Remove the C-style comments |
97 nocomment = re.sub('/\*.*?\*/', '', nocomment, 0, re.DOTALL | re.MULTILINE) | 97 nocomment = re.sub('/\*.*?\*/', '', nocomment, 0, re.DOTALL | re.MULTILINE) |
98 | 98 |
99 config = json.loads(nocomment) | 99 config = json.loads(nocomment) |
100 | 100 |
101 del config['DefaultEncoding'] | 101 config['DefaultEncoding'] = 'Utf8' |
102 | |
103 config['AllowFindSopClassesInStudy'] = False | 102 config['AllowFindSopClassesInStudy'] = False |
104 config['AuthenticationEnabled'] = True | 103 config['AuthenticationEnabled'] = True |
105 config['DicomAet'] = 'ORTHANC' | 104 config['DicomAet'] = 'ORTHANC' |
106 config['DicomAssociationCloseDelay'] = 0 | 105 config['DicomAssociationCloseDelay'] = 0 |
107 config['DicomModalities'] = { | 106 config['DicomModalities'] = { |