Browse Source

HOT-FIX: corrige importação 3.1.x -> master

pull/3367/head
eribeiro 5 years ago
parent
commit
d8b6d78ca9
  1. 2
      sapl/sessao/tests/test_sessao.py

2
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()

Loading…
Cancel
Save