'Verify that the volume hosts are returned.'

def test_list_hosts(self):

    hosts = os_hosts._list_hosts(self.req)
    self.assertEqual(LIST_RESPONSE, hosts)
    cinder_hosts = os_hosts._list_hosts(self.req, 'cinder-volume')
    expected = [host for host in LIST_RESPONSE if (host['service'] == 'cinder-volume')]
    self.assertEqual(expected, cinder_hosts)
