From 35433448b6c355cbf08f6da6f3efece5b038c55b Mon Sep 17 00:00:00 2001 From: Samuel Bronson Date: Mon, 20 Jul 2009 23:59:01 -0400 Subject: It looks like #401249 also applies to "branch ... from ". Extend test accordingly. --- tests/test_generic_processor.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/test_generic_processor.py b/tests/test_generic_processor.py index aee751b..168adf8 100644 --- a/tests/test_generic_processor.py +++ b/tests/test_generic_processor.py @@ -193,9 +193,14 @@ class TestImportToPackTag(TestCaseForGenericProcessor): def files_two(): yield commands.FileModifyCommand(path, to_kind, to_executable, None, to_content) + + # pass "head" for from_ to show that #401249 is worse than I knew yield commands.CommitCommand('head', '2', author, - committer, "commit 2", ":1", [], files_two) + committer, "commit 2", "head", [], files_two) + yield commands.TagCommand('tag1', ':1', committer, "tag 1") + + # pass "head" for from_ to demonstrate #401249 yield commands.TagCommand('tag2', 'head', committer, "tag 2") return command_list -- cgit v1.2.1