[libvirt] [PATCH test-API 0/2]Use encapsulated python APIs in testcases