Mercurial > hg > orthanc-tests
comparison Tests/Run.py @ 378:a4b8450a1158
fix test_storescu_transcoding
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 11 Feb 2021 19:05:59 +0100 |
parents | 79ce0f7a9714 |
children | ad98466353c6 |
comparison
equal
deleted
inserted
replaced
377:cc79fa4945da | 378:a4b8450a1158 |
---|---|
156 | 156 |
157 try: | 157 try: |
158 print('\nStarting the tests...') | 158 print('\nStarting the tests...') |
159 SetOrthancParameters(LOCAL, REMOTE, args.docker) | 159 SetOrthancParameters(LOCAL, REMOTE, args.docker) |
160 | 160 |
161 # Change the order of the tests | |
162 # https://stackoverflow.com/a/4006044/881731 | |
163 # https://stackoverflow.com/a/54923706/881731 | |
164 | |
165 # Reverse order | |
166 # unittest.TestLoader.sortTestMethodsUsing = lambda _, x, y: cmp(y, x) | |
167 | |
168 # import random | |
169 # random.seed(25) | |
170 # unittest.TestLoader.sortTestMethodsUsing = lambda self, a, b: random.choice([1, 0, -1]) | |
171 | |
161 unittest.main(argv = [ sys.argv[0] ] + args.options) | 172 unittest.main(argv = [ sys.argv[0] ] + args.options) |
162 | 173 |
163 | 174 |
164 finally: | 175 finally: |
165 print('\nDone') | 176 print('\nDone') |