[Concept] [PATCH 15/16] test/py: Split up _wait_for_boot_prompt