From d8b6d78ca958d352dd4344eb3c454bd56d5fd881 Mon Sep 17 00:00:00 2001 From: eribeiro Date: Tue, 14 Jul 2020 14:31:08 -0300 Subject: [PATCH] =?UTF-8?q?HOT-FIX:=20corrige=20importa=C3=A7=C3=A3o=203.1?= =?UTF-8?q?.x=20->=20master?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/sessao/tests/test_sessao.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/sessao/tests/test_sessao.py b/sapl/sessao/tests/test_sessao.py index cc98e8914..bd94564bd 100644 --- a/sapl/sessao/tests/test_sessao.py +++ b/sapl/sessao/tests/test_sessao.py @@ -1,4 +1,5 @@ import pytest +from datetime import datetime from django.core.exceptions import ValidationError from django.utils.translation import ugettext_lazy as _ from model_bakery import baker @@ -91,7 +92,6 @@ def test_valida_campos_obrigatorios_bancada_form(): def data(valor): - from datetime import datetime return datetime.strptime(valor, '%Y-%m-%d').date()