[libvirt] [PATCH Rust v2] api_tests.py: update to use Python 3