Commit d6061898 authored by Claude Paroz's avatar Claude Paroz

Complement test_state_committing test

parent f9173f25
......@@ -203,6 +203,8 @@ class VertimusTest(TeamsAndRolesTests):
# Setup as a writable repo
self.b.module.vcs_root = 'git@gitlab.gnome.org:GNOME/%s.git' % self.b.module.name
self.b.module.save()
self.b.refresh_from_db()
self.assertTrue(state.able_to_commit())
action_names = [a.name for a in state.get_available_actions(self.pcoo)]
self.assertEqual(action_names, ['CI', 'WC', 'UNDO', None, 'IC', 'AA'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment