'Fail the host due to insufficient capacity.'

@mock.patch('cinder.db.service_get_all')
def test_backend_passes_filters_no_capacity(self, _mock_service_get_topic):

    (sched, ctx) = self._backend_passes_filters_setup(_mock_service_get_topic)
    request_spec = {'volume_id': fake.VOLUME_ID, 'volume_type': {'name': 'LVM_iSCSI'}, 'volume_properties': {'project_id': 1, 'size': 1024}}
    request_spec = objects.RequestSpec.from_primitives(request_spec)
    self.assertRaises(exception.NoValidBackend, sched.backend_passes_filters, ctx, 'host1#lvm1', request_spec, {})
    self.assertTrue(_mock_service_get_topic.called)
