Skip to content

Commit

Permalink
Corrige testes após mudanças de requisitos e rebase master
Browse files Browse the repository at this point in the history
  • Loading branch information
idgserpro committed Feb 4, 2021
1 parent d1b2b99 commit d724ada
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/brasil/gov/agenda/tests/test_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
4 changes: 2 additions & 2 deletions src/brasil/gov/agenda/tests/test_upgrades.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit d724ada

Please sign in to comment.