Mercurial > hg > orthanc-tests
comparison Tests/Run.py @ 13:7b69a561f4d3
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 18 Jun 2015 16:22:44 +0200 |
parents | f8d781d1d267 |
children | 2a29bcff60a7 |
comparison
equal
deleted
inserted
replaced
12:15c166240dfb | 13:7b69a561f4d3 |
---|---|
108 'Orthanc', CONFIG, #'--verbose' | 108 'Orthanc', CONFIG, #'--verbose' |
109 ]) | 109 ]) |
110 | 110 |
111 | 111 |
112 LOCAL = DefineOrthanc(aet = 'ORTHANCTEST', | 112 LOCAL = DefineOrthanc(aet = 'ORTHANCTEST', |
113 url = 'http://localhost:5000', | 113 server = 'localhost', |
114 dicomPort = 5001, | 114 dicomPort = 5001, |
115 restPort = 5000, | |
115 username = 'alice', | 116 username = 'alice', |
116 password = 'orthanctest') | 117 password = 'orthanctest') |
117 | 118 |
118 REMOTE = DefineOrthanc(url = 'http://%s:%d/' % (args.server, args.rest), | 119 REMOTE = DefineOrthanc(server = args.server, |
119 username = args.username, | 120 username = args.username, |
120 password = args.password, | 121 password = args.password, |
121 aet = args.aet, | 122 aet = args.aet, |
122 dicomPort = args.dicom) | 123 dicomPort = args.dicom, |
124 restPort = args.rest) | |
123 | 125 |
124 | 126 |
125 | 127 |
126 print('Parameters of the instance of Orthanc being tested:') | 128 print('Parameters of the instance of Orthanc being tested:') |
127 pprint.pprint(REMOTE) | 129 pprint.pprint(REMOTE) |