@mock.patch("nova.servicegroup.API.service_is_up", return_value=True)
    @mock.patch("nova.objects.Service.get_by_compute_host")
    @mock.patch("nova.objects.ComputeNode.get_by_id")
    def test_pci_show(self, mock_obj, mock_svc_get, mock_service):
        mock_obj.return_value = self.fake_compute_node
        mock_svc_get.return_value = self.fake_service
        hypervisor_id = 1
        response = self._do_get(hypervisor_id % 'os-hypervisors/%s')
        subs = {
            'hypervisor_id': hypervisor_id,
        }
        self._verify_response('hypervisors-pci-show-resp',
                              subs, response, 200)
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/functional/api_sample_tests/test_pci.py/ExtendedHyervisorPciSampleJsonTest.test_pci_show/swapped operands of `%`