Mercurial > hg > orthanc-tests
comparison GenerateConfigurationForTests.py @ 380:b9adc7d06347
update tests following removal of dicom-as-json attachments
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 16 Feb 2021 12:03:27 +0100 |
parents | 79ce0f7a9714 |
children | 227d9a932467 |
comparison
equal
deleted
inserted
replaced
379:097329b67509 | 380:b9adc7d06347 |
---|---|
40 default = 'IntegrationTestsConfiguration.json', | 40 default = 'IntegrationTestsConfiguration.json', |
41 help = 'Configuration file to generate') | 41 help = 'Configuration file to generate') |
42 | 42 |
43 parser.add_argument('--force', | 43 parser.add_argument('--force', |
44 help = 'Overwrite the file even if it already exists', | 44 help = 'Overwrite the file even if it already exists', |
45 action = 'store_true') | |
46 | |
47 parser.add_argument('--compression', | |
48 help = 'Enable storage compression', | |
45 action = 'store_true') | 49 action = 'store_true') |
46 | 50 |
47 parser.add_argument('--plugins', | 51 parser.add_argument('--plugins', |
48 help = 'Add a path to a folder containing plugins') | 52 help = 'Add a path to a folder containing plugins') |
49 | 53 |
142 config['HttpTimeout'] = 2 | 146 config['HttpTimeout'] = 2 |
143 config['SyncStorageArea'] = False # For tests to run more quickly | 147 config['SyncStorageArea'] = False # For tests to run more quickly |
144 config['WebDavEnabled'] = True | 148 config['WebDavEnabled'] = True |
145 config['WebDavDeleteAllowed'] = True | 149 config['WebDavDeleteAllowed'] = True |
146 config['WebDavUploadAllowed'] = True | 150 config['WebDavUploadAllowed'] = True |
151 config['StorageCompression'] = args.compression | |
147 | 152 |
148 del config['KeepAlive'] | 153 del config['KeepAlive'] |
149 | 154 |
150 config['Dictionary'] = { | 155 config['Dictionary'] = { |
151 '00e1,10c2' : [ 'UI', 'PET-CT Multi Modality Name', 1, 1, 'ELSCINT1' ], | 156 '00e1,10c2' : [ 'UI', 'PET-CT Multi Modality Name', 1, 1, 'ELSCINT1' ], |