you left the  host cpu info  field in the returned stats dictionary  but you have removed the unit test for it here  either remove the  host cpu info  field from the stats dictionary or keep this unit test in note that on line in nova virt xenapi fake py you changed the return value for the host cpu info field  so this unit test will need to be modified accordingly 