[Concept] [PATCH 7/9] test/py: Create a function to restart a board