Mercurial > hg > orthanc-tests
diff Tests/Run.py @ 44:ffa542cce638
Toolbox.FindExecutable()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 27 Aug 2015 11:57:16 +0200 |
parents | f2dcf96fec51 |
children | 97acfdf0dbce |
line wrap: on
line diff
--- a/Tests/Run.py Tue Aug 25 13:02:43 2015 +0200 +++ b/Tests/Run.py Thu Aug 27 11:57:16 2015 +0200 @@ -26,7 +26,7 @@ import pprint from Tests import * -from Toolbox import DoGet +import Toolbox ## @@ -82,7 +82,8 @@ ## CONFIG = '/tmp/IntegrationTestsConfiguration.json' -subprocess.check_call([ 'Orthanc', '--config=%s' % CONFIG ]) +subprocess.check_call([ Toolbox.FindExecutable('Orthanc'), + '--config=%s' % CONFIG ]) with open(CONFIG, 'rt') as f: config = f.read() @@ -136,7 +137,7 @@ print('Waiting for the internal Orthanc to start...') while True: try: - DoGet(LOCAL, '/instances') + Toolbox.DoGet(LOCAL, '/instances') break except: time.sleep(0.1)