File tree 3 files changed +8
-5
lines changed
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 4
4
5
5
pool :
6
6
name : 1es-pool-azfunc-public
7
- image : 1es-windows-2022
8
- os : windows
7
+ image : 1es-ubuntu-22.04
8
+ os : linux
9
9
10
10
steps :
11
11
- task : UsePythonVersion@0
Original file line number Diff line number Diff line change 3
3
displayName : " Run Python Unit Tests"
4
4
5
5
strategy :
6
- maxParallel : 1
7
6
matrix :
8
7
Python37 :
9
8
PYTHON_VERSION : ' 3.7'
Original file line number Diff line number Diff line change @@ -56,5 +56,9 @@ def raising_function():
56
56
self .assertIn ("call1" , processed_exception )
57
57
self .assertIn ("call2" , processed_exception )
58
58
self .assertIn ("f" , processed_exception )
59
- self .assertIn ("tests/unittests/test_logging.py" ,
60
- processed_exception )
59
+ file_path_present = False
60
+ for line in processed_exception :
61
+ if "tests/unittests/test_logging.py" in line :
62
+ file_path_present = True
63
+ break
64
+ self .assertTrue (file_path_present )
You can’t perform that action at this time.
0 commit comments