comparison GenerateConfigurationForTests.py @ 90:afbac3eb28a5

integration tests of worklists
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 06 Dec 2016 11:59:35 +0100
parents 47a3d6c08413
children dbcbffb889da
comparison
equal deleted inserted replaced
89:74b7b9aed5f8 90:afbac3eb28a5
97 config['OrthancPeers'] = { 'peer' : [ 'http://%s:%d/' % (ip, 5000), 'alice', 'orthanctest' ] } 97 config['OrthancPeers'] = { 'peer' : [ 'http://%s:%d/' % (ip, 5000), 'alice', 'orthanctest' ] }
98 config['RegisteredUsers'] = { 'alice' : 'orthanctest' } 98 config['RegisteredUsers'] = { 'alice' : 'orthanctest' }
99 config['RemoteAccessAllowed'] = True 99 config['RemoteAccessAllowed'] = True
100 100
101 config['Dictionary'] = { 101 config['Dictionary'] = {
102 "00e1,10c2" : [ "UI", "PET-CT Multi Modality Name", 1, 1, "ELSCINT1" ], 102 '00e1,10c2' : [ 'UI', 'PET-CT Multi Modality Name', 1, 1, 'ELSCINT1' ],
103 "7053,1003" : [ "ST", "Original Image Filename", 1, 1, "Philips PET Private Group" ] 103 '7053,1003' : [ 'ST', 'Original Image Filename', 1, 1, 'Philips PET Private Group' ]
104 } 104 }
105 105
106 config['DicomWeb'] = { 106 config['DicomWeb'] = {
107 "Servers" : { 107 'Servers' : {
108 "sample" : [ 108 'sample' : [
109 "http://localhost:8042/dicom-web/", 109 'http://localhost:8042/dicom-web/',
110 "alice", 110 'alice',
111 "orthanctest" 111 'orthanctest'
112 ] 112 ]
113 } 113 }
114 } 114 }
115
116 config['Worklists'] = {
117 'Enable': True,
118 'Database': os.path.abspath(os.path.join(os.path.dirname(__file__), './Database/Worklists/Working')),
119 }
120
115 121
116 122
117 # Enable case-insensitive PN (the default on versions <= 0.8.6) 123 # Enable case-insensitive PN (the default on versions <= 0.8.6)
118 config['CaseSensitivePN'] = False 124 config['CaseSensitivePN'] = False
119 125