From d724adaec99f91db019074a9dd50572558ab47c8 Mon Sep 17 00:00:00 2001 From: idgserpro Date: Thu, 4 Feb 2021 16:57:41 -0300 Subject: [PATCH] =?UTF-8?q?Corrige=20testes=20ap=C3=B3s=20mudan=C3=A7as=20?= =?UTF-8?q?de=20requisitos=20e=20rebase=20master?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/brasil/gov/agenda/tests/test_setup.py | 2 +- src/brasil/gov/agenda/tests/test_upgrades.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/brasil/gov/agenda/tests/test_setup.py b/src/brasil/gov/agenda/tests/test_setup.py index 517b891..b9f0c1d 100644 --- a/src/brasil/gov/agenda/tests/test_setup.py +++ b/src/brasil/gov/agenda/tests/test_setup.py @@ -40,7 +40,7 @@ def test_installed(self): def test_version(self): self.assertEqual( - self.st.getLastVersionForProfile(self.profile), (u'4105',)) + self.st.getLastVersionForProfile(self.profile), (u'4106',)) def test_agenda_not_searched(self): pp = getattr(self.portal, 'portal_properties') diff --git a/src/brasil/gov/agenda/tests/test_upgrades.py b/src/brasil/gov/agenda/tests/test_upgrades.py index b1b592d..8b5b434 100644 --- a/src/brasil/gov/agenda/tests/test_upgrades.py +++ b/src/brasil/gov/agenda/tests/test_upgrades.py @@ -185,13 +185,13 @@ def test_add_export_agenda_action(self): object_buttons = portal_actions.object_buttons object_buttons.manage_delObjects(['export_agenda']) action = object_buttons.listActions()[-1] - self.assertNotEqual(action.title, u'Export Schedule') + self.assertNotEqual(action.title, u'Export Appointments') # Executa upgrade. self.execute_upgrade_step(step) action = object_buttons.listActions()[-1] - self.assertEqual(action.title, u'Export Schedule') + self.assertEqual(action.title, u'Export Appointments') def test_permission(self): permission = 'brasil.gov.agenda: Exportar Agenda'