File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # -----------------------------------------
2+ # Run tests and create code coverage report
3+ # -----------------------------------------
4+
5+ # 2021-12-20, T. Graf
6+
7+ poetry run coverage run - m pytest
8+ poetry run coverage report - m -- omit " */site-packages/*.py"
9+ poetry run coverage html -- omit " */site-packages/*.py"
10+
11+
12+ # -----------------------------------
13+ # -----------------------------------
Original file line number Diff line number Diff line change 11# -------------------------------------------------------------------------------
2- # (c) 2020 Siemens AG
2+ # (c) 2020-2022 Siemens AG
33# All Rights Reserved.
44# Author: thomas.graf@siemens.com
55#
@@ -50,7 +50,7 @@ def test_get_health_status(self):
5050
5151 responses .add (
5252 method = responses .GET ,
53- url = self .MYURL + "resource/actuator/ health/" ,
53+ url = self .MYURL + "resource/health/" ,
5454 body = '{"status": "UP"}' ,
5555 status = 200 ,
5656 content_type = "application/json" ,
You can’t perform that action at this time.
0 commit comments