-
Committer:
Vincent Ladeuil
-
Date:
2009-05-28 08:11:32 UTC
-
mto:
This revision was merged to the branch mainline in
revision
640.
-
Revision ID:
v.ladeuil+lp@free.fr-20090528081132-3unvi7mcyv0u1e08
Tests completed for uncommit.
* tests/test_commit.py:
(TestUncommitHook.setUp): Factor out the setup.
(TestUncommitHook._get_file_info_dict,
TestUncommitHook._get_file_info_revprops,
TestUncommitHook._get_commit_message,
TestUncommitHook._get_file_commit_messages): Add some helpers to
capture the relevant API.
(TestUncommitHook.test_uncommit_one_by_one): Use the three commits
instead of two.
(TestUncommitHook.test_uncommit_all_at_once): New test.