@json_view(permission='view_tender')
    def collection_get(self):
        return {'data': [i.serialize("view") for i in self.request.validated['tender'].lots]}
Test simple HTTP GET
dataset/ETHPy150Open openprocurement/openprocurement.api/src/openprocurement/api/views/lot.py/TenderLotResource.collection_get--crossover with--dataset/ETHPy150Open jeffknupp/sandman/tests/test_sandman.py/TestSandmanBasicVerbs.test_get_with_filter