'Tests index paging with an invalid marker (not found).'

def test_index_pagination_with_invalid_marker(self):

    req = self._get_request(use_admin_context=True, url=('/os-hypervisors?marker=%s' % uuids.invalid_marker))
    self.assertRaises(exc.HTTPBadRequest, self.controller.index, req)
