From 71050918340b3a8134cb4cd5fcb785c0ca6fa100 Mon Sep 17 00:00:00 2001 From: rgc99 Date: Fri, 29 Sep 2023 03:39:57 +0000 Subject: [PATCH] Minor tweeks to tests --- tests/configs/test_schedule_from_until.yaml | 4 ++-- tests/test_schedule.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/configs/test_schedule_from_until.yaml b/tests/configs/test_schedule_from_until.yaml index 3653eca..6df4fac 100644 --- a/tests/configs/test_schedule_from_until.yaml +++ b/tests/configs/test_schedule_from_until.yaml @@ -5,7 +5,7 @@ irrigation_unlimited: testing: enabled: true speed: 1.0 - output_events: true + output_events: false show_log: false autoplay: false times: @@ -25,7 +25,7 @@ irrigation_unlimited: - {t: '2021-09-18 06:05', c: 1, z: 1, s: 1} - {t: '2021-09-18 06:15', c: 1, z: 1, s: 0} - {t: '2021-09-18 06:15', c: 1, z: 0, s: 0} - - name: "1-From > Until" + - name: "2-From > Until" start: "2021-12-28 07:00" end: "2022-01-04 08:00" results: diff --git a/tests/test_schedule.py b/tests/test_schedule.py index 8ac689f..2801851 100644 --- a/tests/test_schedule.py +++ b/tests/test_schedule.py @@ -5,11 +5,11 @@ IUExam.quiet_mode() +# pylint: disable=unused-argument + async def test_schedule(hass: ha.HomeAssistant, skip_dependencies, skip_history): """Test schedule functionality.""" - # pylint: disable=unused-argument - async with IUExam(hass, "test_schedule.yaml") as exam: await exam.run_all() exam.check_summary()