<s> """<STR_LIT>""" <EOL> import unittest <EOL> from cloudcafe . compute . hypervisors_api . model . hypervisor import Hypervisors <EOL> class HypervisorsDomainTest ( object ) : <EOL> def test_hypervisor_attr ( self ) : <EOL> self . assertEqual ( self . hypervisors [ <NUM_LIT:0> ] . id_ , '<STR_LIT:1>' ) <EOL> self . assertEqual ( self . hypervisors [ <NUM_LIT:0> ] . hypervisor_hostname , <EOL> "<STR_LIT>" ) <EOL> self . assertEqual ( self . hypervisors [ <NUM_LIT:0> ] . vcpus_used , '<STR_LIT:2>' ) <EOL> self . assertEqual ( self . hypervisors [ <NUM_LIT:0> ] . hypervisor_type , '<STR_LIT>' ) <EOL> self . assertEqual ( self . hypervisors [ <NUM_LIT:0> ] . local_gb_used , '<STR_LIT>' ) <EOL> self . assertEqual ( self . hypervisors [ <NUM_LIT:0> ] . memory_mb_used , '<STR_LIT>' ) <EOL> self . assertEqual ( self . hypervisors [ <NUM_LIT:0> ] . memory_mb , '<STR_LIT>' ) <EOL> self . assertEqual ( self . hypervisors [ <NUM_LIT:0> ] . current_workload , '<STR_LIT:0>' ) <EOL> self . assertEqual ( self . hypervisors [ <NUM_LIT:0> ] . vcpus , '<STR_LIT:0>' ) <EOL> self . assertEqual ( self . hypervisors [ <NUM_LIT:0> ] . cpu_info , '<STR_LIT:2>' ) <EOL> self . assertEqual ( self . hypervisors [ <NUM_LIT:0> ] . running_vms , '<STR_LIT:2>' ) <EOL> self . assertEqual ( self . hypervisors [ <NUM_LIT:0> ] . free_disk_gb , '<STR_LIT>' ) <EOL> self . assertEqual ( self . hypervisors [ <NUM_LIT:0> ] . hypervisor_version , '<STR_LIT>' ) <EOL> self . assertEqual ( self . hypervisors [ <NUM_LIT:0> ] . disk_available_least , '<STR_LIT:None>' ) <EOL> self . assertEqual ( self . hypervisors [ <NUM_LIT:0> ] . local_gb , '<STR_LIT>' ) <EOL> self . assertEqual ( self . hypervisors [ <NUM_LIT:0> ] . free_ram_mb , '<STR_LIT>' ) <EOL> self . assertEqual ( self . hypervisors [ <NUM_LIT:0> ] . service . host , "<STR_LIT>" ) <EOL> self . assertEqual ( self . hypervisors [ <NUM_LIT:0> ] . service . id_ , '<STR_LIT>' ) <EOL> class HypervisorsDomainJSONTest ( unittest . TestCase , HypervisorsDomainTest ) : <EOL> @ classmethod <EOL> def setUp ( cls ) : <EOL> cls . hypervisor_json = """<STR_LIT>""" <EOL> cls . hypervisors = Hypervisors . deserialize ( cls . hypervisor_json , "<STR_LIT>" ) <EOL> class HypervisorsDomainXMLTest ( unittest . TestCase , HypervisorsDomainTest ) : <EOL> @ classmethod <EOL> def setUp ( cls ) : <EOL> cls . hypervisor_xml = """<STR_LIT>""" <EOL> cls . hypervisors = Hypervisors . deserialize ( cls . hypervisor_xml , "<STR_LIT>" ) </s>
