Commit d89c40b8 authored by eric@webkit.org's avatar eric@webkit.org
Browse files

2011-06-29 Eric Seidel <eric@webkit.org>

        Adam says cowboys don't review (or unit test).

        * Scripts/webkitpy/tool/commands/download.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@90052 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 561dcfc3
2011-06-29 Eric Seidel <eric@webkit.org>
Adam says cowboys don't review (or unit test).
* Scripts/webkitpy/tool/commands/download.py:
2011-06-29 Eric Seidel <eric@webkit.org>
 
Reviewed by Adam Barth.
......
......@@ -123,6 +123,7 @@ class LandCowboy(AbstractSequencedCommand):
steps.Build,
steps.RunTests,
steps.Commit,
steps.CloseBugForLandDiff,
]
......
......@@ -106,7 +106,7 @@ class DownloadCommandsTest(CommandsTest):
expected_stderr = "Updating working directory\n2 reviewed patches found on bug 42.\nProcessing 2 patches from 1 bug.\nProcessing patch 197 from bug 42.\nProcessing patch 128 from bug 42.\n"
self.assert_execute_outputs(ApplyFromBug(), [42], options=options, expected_stderr=expected_stderr)
def test_land_diff(self):
def test_land(self):
expected_stderr = "Building WebKit\nRunning Python unit tests\nRunning Perl unit tests\nRunning Bindings tests\nRunning JavaScriptCore tests\nRunning run-webkit-tests\nCommitted r49824: <http://trac.webkit.org/changeset/49824>\nUpdating bug 42\n"
mock_tool = MockTool()
mock_tool.scm().create_patch = Mock(return_value="Patch1\nMockPatch\n")
......
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