Python Hardware Test Automation