diff --git a/tests/test_progit_flask_ui_admin.py b/tests/test_progit_flask_ui_admin.py index 115f997..d7eb935 100644 --- a/tests/test_progit_flask_ui_admin.py +++ b/tests/test_progit_flask_ui_admin.py @@ -98,6 +98,9 @@ class ProgitFlaskAdmintests(tests.Modeltests): self.assertTrue('Re-generate gitolite ACLs file' in output.data) self.assertTrue( 'Re-generate ssh authorized_key file' in output.data) + self.assertTrue( + '
  • Gitolite ACLs updated
  • ' + in output.data) @patch('progit.generate_authorized_key_file') def test_admin_refresh_ssh(self, gakf): @@ -124,6 +127,9 @@ class ProgitFlaskAdmintests(tests.Modeltests): self.assertTrue('Re-generate gitolite ACLs file' in output.data) self.assertTrue( 'Re-generate ssh authorized_key file' in output.data) + self.assertTrue( + '
  • Authorized file updated
  • ' + in output.data) if __name__ == '__main__':