# HG changeset patch # User Sebastien Jodogne # Date 1435840510 -7200 # Node ID cbd6703ba4e7a75b9bee0186d14874269b737a96 # Parent 156c7ae164b5a36b72c5e76913a7923fb4e03a07 fix diff -r 156c7ae164b5 -r cbd6703ba4e7 Tests/Run.py --- a/Tests/Run.py Wed Jul 01 12:10:30 2015 +0200 +++ b/Tests/Run.py Thu Jul 02 14:35:10 2015 +0200 @@ -81,9 +81,6 @@ ## Orthanc ## -if args.docker: - args.server = GetDockerHostAddress() - CONFIG = '/tmp/IntegrationTestsConfiguration.json' subprocess.check_call([ 'Orthanc', '--config=%s' % CONFIG ]) @@ -111,8 +108,13 @@ ]) +if args.docker: + localServer = GetDockerHostAddress() +else: + localServer = 'localhost' + LOCAL = DefineOrthanc(aet = 'ORTHANCTEST', - server = 'localhost', + server = localServer, dicomPort = 5001, restPort = 5000, username = 'alice',