def test_cancelCheckout(self):
        vraag = 'cancelCheckout_Di02.xml'
        response = self._do_request(self.porttype, vraag, self.context)

        self._test_response(response)

        self._service_dms_client.cancel_checkout.assert_called_once_with(to_proxy_obj(self.edc1), 'doc1')
    def test_cancelCheckout(self):
        vraag = 'cancelCheckout_Di02.xml'
        response = self._do_request(self.porttype, vraag, self.context)

        self._test_response(response)

        self._service_dms_client.cancel_checkout.assert_called_once_with(
            to_proxy_obj(self.edc1), 'doc1')
    def test_geefZaakdocumentbewerken_Di02_07(self):
        vraag = 'geefZaakdocumentBewerken_Di02_07.xml'
        context = {
            'referentienummer': self.genereerID(10),
            'datumVandaag': self.genereerdatum(),
            'maakzaakdocument_identificatie_1': self.edc1.informatieobjectidentificatie,
        }
        response = self._do_request(self.porttype, vraag, context)

        self._test_response(response)
        self._service_dms_client.checkout.assert_called_once_with(to_proxy_obj(self.edc1))
Ejemplo n.º 4
0
    def test_geefZaakdocumentbewerken_Di02_07(self):
        vraag = 'geefZaakdocumentBewerken_Di02_07.xml'
        context = {
            'referentienummer': self.genereerID(10),
            'datumVandaag': self.genereerdatum(),
            'maakzaakdocument_identificatie_1': self.edc1.informatieobjectidentificatie,
        }
        response = self._do_request(self.porttype, vraag, context)

        self._test_response(response)
        self._service_dms_client.checkout.assert_called_once_with(to_proxy_obj(self.edc1))