comparison Tests/Run.py @ 5:19eb87a45685

test_images
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 17 Jun 2015 10:42:24 +0200
parents 292a46fe374c
children 6d645b3011e1
comparison
equal deleted inserted replaced
4:292a46fe374c 5:19eb87a45685
23 import argparse 23 import argparse
24 import subprocess 24 import subprocess
25 import unittest 25 import unittest
26 import pprint 26 import pprint
27 27
28 from Toolbox import *
29 from Tests import * 28 from Tests import *
29 from Toolbox import DoGet
30 30
31 31
32 ## 32 ##
33 ## Parse the command-line arguments 33 ## Parse the command-line arguments
34 ## 34 ##
121 121
122 122
123 try: 123 try:
124 print('\nStarting the tests...') 124 print('\nStarting the tests...')
125 SetOrthancParameters(LOCAL, REMOTE) 125 SetOrthancParameters(LOCAL, REMOTE)
126 unittest.main(argv = [ sys.argv[0] ]) #argv = args) 126 unittest.main(argv = [ sys.argv[0] ])
127 127
128 finally: 128 finally:
129 print('\nDone') 129 print('\nDone')
130 130
131 # The tests have stopped or "Ctrl-C" has been hit 131 # The tests have stopped or "Ctrl-C" has been hit