From c0908d85fa1fbec4eaf41115f8313747e59ab4d5 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Thu, 15 Dec 2016 17:32:54 -0200 Subject: [PATCH] =?UTF-8?q?HOT-FIX:=20definie=20a=20comiss=C3=A3o=20do=20t?= =?UTF-8?q?este=20como=20ativa=20para=20corrigir=20quebra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/materia/tests/test_materia.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sapl/materia/tests/test_materia.py b/sapl/materia/tests/test_materia.py index a8aaaf2ec..4f88a8b79 100644 --- a/sapl/materia/tests/test_materia.py +++ b/sapl/materia/tests/test_materia.py @@ -159,6 +159,7 @@ def test_despacho_inicial_submit(admin_client): comissao = mommy.make(Comissao, tipo=tipo_comissao, nome='Teste', + ativa=True, sigla='T', data_criacao='2016-03-18') @@ -172,6 +173,7 @@ def test_despacho_inicial_submit(admin_client): # Verifica se o despacho foi criado despacho = DespachoInicial.objects.first() + assert despacho.comissao == comissao assert despacho.materia == materia_principal