From 1f98d010374cccd3db1a5f9de8346e5b22d5e83a Mon Sep 17 00:00:00 2001 From: VictorFabreF Date: Wed, 31 Jan 2018 17:37:56 -0200 Subject: [PATCH] Ajusta teste de sessao --- sapl/sessao/tests/test_sessao.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sapl/sessao/tests/test_sessao.py b/sapl/sessao/tests/test_sessao.py index 038ad7424..38f89acfe 100644 --- a/sapl/sessao/tests/test_sessao.py +++ b/sapl/sessao/tests/test_sessao.py @@ -81,8 +81,9 @@ def test_valida_campos_obrigatorios_bancada_form(): assert errors['legislatura'] == [_('Este campo é obrigatório.')] assert errors['nome'] == [_('Este campo é obrigatório.')] + assert errors['data_criacao'] == [_('Este campo é obrigatório.')] - assert len(errors) == 2 + assert len(errors) == 3 @pytest.mark.django_db(transaction=False)