[damned-lies/fix_tests] Find out commit info exception



commit cbdc70f2e4cbfc070fa6b1dfdecafb27abf63eef
Author: Claude Paroz <claude 2xlibre net>
Date:   Mon Sep 10 13:42:12 2018 +0200

    Find out commit info exception

 vertimus/tests/tests.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/vertimus/tests/tests.py b/vertimus/tests/tests.py
index 5971d30d..e6fee1f4 100644
--- a/vertimus/tests/tests.py
+++ b/vertimus/tests/tests.py
@@ -204,6 +204,7 @@ class VertimusTest(TeamsAndRolesTests):
         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()
+        state.domain.commit_info(state.branch, state.language)
         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'])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]