From 46786bb81e0d994387a6fa481622c7bd1c1aafbb Mon Sep 17 00:00:00 2001 From: Eduardo Calil Date: Mon, 29 Aug 2016 13:33:05 -0300 Subject: [PATCH] Conserta teste de tramitacao de documento administrativo --- sapl/protocoloadm/tests/test_protocoloadm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sapl/protocoloadm/tests/test_protocoloadm.py b/sapl/protocoloadm/tests/test_protocoloadm.py index 3a3373727..ddf84b10e 100644 --- a/sapl/protocoloadm/tests/test_protocoloadm.py +++ b/sapl/protocoloadm/tests/test_protocoloadm.py @@ -182,7 +182,8 @@ def test_create_tramitacao(admin_client): {'unidade_tramitacao_local': unidade_tramitacao_destino_1.pk, 'documento': documento_adm.pk, 'status': status.pk, - 'data_tramitacao': datetime.date(2016, 8, 26)}, + 'data_tramitacao': datetime.date.today() + datetime.timedelta( + days=1)}, follow=True) msg = _('A data de tramitação deve ser ' +