From 51bfaf11d738947c38309f3091bd928d278735bf Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Fri, 7 Aug 2015 11:53:14 -0300 Subject: [PATCH] Fix broken legacy renames test --- legacy/test_renames.py | 5 +++++ sessao/legacy.yaml | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/legacy/test_renames.py b/legacy/test_renames.py index 5abdc18c3..533ce65ab 100644 --- a/legacy/test_renames.py +++ b/legacy/test_renames.py @@ -1,5 +1,6 @@ import comissoes import materia +import sessao from .migration import appconfs, get_renames, legacy_app @@ -10,6 +11,10 @@ RENAMING_IGNORED_MODELS = [ RENAMING_IGNORED_FIELDS = [ (materia.models.Proposicao, {'documento'}), (materia.models.TipoProposicao, {'tipo_documento'}), + (sessao.models.SessaoPlenaria, {'finalizada', + 'upload_pauta', + 'upload_ata', + 'iniciada'}), ] diff --git a/sessao/legacy.yaml b/sessao/legacy.yaml index 9aaa9bcef..a1321b96b 100644 --- a/sessao/legacy.yaml +++ b/sessao/legacy.yaml @@ -12,7 +12,6 @@ SessaoPlenaria: numero: num_sessao_plen sessao_legislativa: cod_sessao_leg tipo: tip_sessao - tipo_expediente: tip_expediente url_audio: url_audio url_video: url_video