Commit 0b4875b3 authored by Claude Paroz's avatar Claude Paroz

Testing ability to commit needs the scratch dir

parent d6061898
......@@ -182,6 +182,7 @@ class VertimusTest(TeamsAndRolesTests):
action_names = [ for a in state.get_available_actions(p)]
self.assertEqual(action_names, ['RC', 'TR', 'UNDO', 'WC', None, 'IC', 'AA'])
def test_state_committing(self):
state = StateProofreading(branch=self.b, domain=self.d, language=self.l,
......@@ -378,6 +379,7 @@ class VertimusTest(TeamsAndRolesTests):
action.apply_on(state, {'send_to_ml': action.send_mail_to_ml, 'comment': "This work is mine!"})
self.assertIsInstance(state, StateCommitting)
def test_action_ci(self):
# Setup as a writable repo
self.b.module.vcs_root = '' %
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