'Test weigher with a PCI device instance and a 0.0 multiplier.
Ensure that the 0.0 multiplier disables the weigher entirely.'

def test_multiplier_none(self):

    self.flags(pci_weight_multiplier=0.0, group='filter_scheduler')
    hosts = [('host1', 'node1', [4, 1]), ('host2', 'node2', [10]), ('host3', 'node3', [1, 1, 1, 1])]
    hostinfo_list = self._get_all_hosts(hosts)
    request = objects.InstancePCIRequest(count=1, spec=[{'vendor_id': '8086'}])
    requests = objects.InstancePCIRequests(requests=[request])
    spec_obj = objects.RequestSpec(pci_requests=requests)
    weighed_hosts = self._get_weighed_hosts(hostinfo_list, spec_obj)
    for weighed_host in weighed_hosts:
        self.assertEqual(0.0, weighed_host.weight)
