software/kvm: Use assertIn in tests

2 jobs for fix/kvm-test-py3-compat in 0 seconds