Skip to content

Commit

Permalink
Add check to test
Browse files Browse the repository at this point in the history
  • Loading branch information
rgc99 committed Jun 26, 2023
1 parent 9134825 commit 9ca484d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_finalise.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

IUExam.quiet_mode()


# pylint: disable=unused-argument
async def test_finalise(hass: ha.HomeAssistant, skip_dependencies, skip_history):
"""Test finialise."""
Expand All @@ -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()

0 comments on commit 9ca484d

Please sign in to comment.