'Test correct set of images returned with marker/limit params.'

def test_image_get_index_marker_limit(self):

    uuid4_time = (timeutils.utcnow() + datetime.timedelta(seconds=10))
    uuid3_time = (uuid4_time + datetime.timedelta(seconds=5))
    UUID3 = _gen_uuid()
    extra_fixture = self.get_fixture(id=UUID3, name='new    name!    #123', status='saving', created_at=uuid3_time)
    db_api.image_create(self.context, extra_fixture)
    UUID4 = _gen_uuid()
    extra_fixture = self.get_fixture(id=UUID4, name='new    name!    #125', status='saving', created_at=uuid4_time)
    db_api.image_create(self.context, extra_fixture)
    images = self.client.image_get_all(marker=UUID4, limit=1)
    self.assertEqualImages(images, (UUID2,), unjsonify=False)
