Skip to content

Commit b67bf72

Browse files
committed
Add pragma: no cover for empty schedule,
we know it works from the past.
1 parent 27bd5c9 commit b67bf72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1472,7 +1472,7 @@ def _schedules(self, location: str) -> tuple[list[str], str]:
14721472
locator = f'./rule[@id="{rule_id}"]/directives'
14731473
# Show an empty schedule as no schedule found
14741474
if not self._domain_objects.find(locator):
1475-
continue
1475+
continue # pragma: no cover
14761476

14771477
available.append(name)
14781478
if location == loc_id:

0 commit comments

Comments
 (0)