From 9ca484dda34bea22342a84004a723f27742900bc Mon Sep 17 00:00:00 2001 From: rgc99 Date: Mon, 26 Jun 2023 10:25:56 +0000 Subject: [PATCH] Add check to test --- tests/test_finalise.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_finalise.py b/tests/test_finalise.py index 7c69521..2120f7e 100644 --- a/tests/test_finalise.py +++ b/tests/test_finalise.py @@ -5,6 +5,7 @@ IUExam.quiet_mode() + # pylint: disable=unused-argument async def test_finalise(hass: ha.HomeAssistant, skip_dependencies, skip_history): """Test finialise.""" @@ -14,5 +15,6 @@ async def test_finalise(hass: ha.HomeAssistant, skip_dependencies, skip_history) await exam.run_for("00:14:00") hass.stop() await sleep(1) + assert exam.coordinator.finalised is True await exam.finish_test() exam.check_summary()