Skip to content

Commit f7a3a83

Browse files
committed
Uncover test fall-throughs
1 parent 704a80b commit f7a3a83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/tests_and_coverage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
echo "-----------------------------------------------------------"
33
echo "Running plugwise/smile.py through pytest including coverage"
44
echo "-----------------------------------------------------------"
5-
PYTHONPATH=$(pwd) pytest -rpP --log-level debug tests/test_smile.py --cov='./plugwise' --no-cov-on-fail --cov-report term-missing
5+
PYTHONPATH=$(pwd) pytest -rpP --log-level debug tests/test_smile.py --cov='.' --no-cov-on-fail --cov-report term-missing

tests/test_smile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ async def test_connect_adam_zone_per_device(self):
10681068

10691069
try:
10701070
await smile.delete_notification()
1071-
assert False
1071+
assert False # pragma: no cover
10721072
except pw_exceptions.ResponseError:
10731073
assert True
10741074

0 commit comments

Comments
 (0)