Changeset 85446 in webkit
- Timestamp:
- May 1, 2011 5:58:23 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r85443 r85446 1 2011-05-01 Eric Seidel <eric@webkit.org> 2 3 Reviewed by Adam Barth. 4 5 Make most scm.py tests pass in preparation for splitting them up 6 https://bugs.webkit.org/show_bug.cgi?id=59904 7 8 There is one remaining failure: 9 webkitpy.common.checkout.scm.scm_unittest.GitTestWithMock.test_create_patch 10 which identifies a difference between the SVN and Git versions of the 11 SCM api. I'm not going to bother fixing that until we split out all 12 the tests. 13 14 * Scripts/webkitpy/common/checkout/scm/scm_unittest.py: 15 1 16 2011-05-01 Patrick Gansterer <paroga@webkit.org> 2 17 -
trunk/Tools/Scripts/webkitpy/common/checkout/scm/scm_unittest.py
r85427 r85446 47 47 from datetime import date 48 48 from webkitpy.common.checkout.api import Checkout 49 from webkitpy.common.checkout.scm import detect_scm_system, SCM, SVN, Git, CheckoutNeedsUpdate, commit_error_handler, AuthenticationError, AmbiguousCommitError, find_checkout_root, default_scm49 from .scm import detect_scm_system, SCM, SVN, Git, CheckoutNeedsUpdate, commit_error_handler, AuthenticationError, AmbiguousCommitError, find_checkout_root, default_scm 50 50 from webkitpy.common.config.committers import Committer # FIXME: This should not be needed 51 51 from webkitpy.common.net.bugzilla import Attachment # FIXME: This should not be needed … … 286 286 attachment.contents = lambda: patch_contents 287 287 288 joe_cool = Committer( name="Joe Cool", email_or_emails=None)288 joe_cool = Committer("Joe Cool", "joe@cool.com") 289 289 attachment.reviewer = lambda: joe_cool 290 290 … … 1451 1451 1452 1452 def test_create_patch(self): 1453 expected_stderr = "MOCK run_command: ['git', 'merge-base', u'refs/remotes/origin/master', 'HEAD']\nMOCK run_command: ['git', 'diff', '--binary', '--no-ext-diff', '--full-index', '-M', 'MOCK output of child process', '--']\n "1453 expected_stderr = "MOCK run_command: ['git', 'merge-base', u'refs/remotes/origin/master', 'HEAD']\nMOCK run_command: ['git', 'diff', '--binary', '--no-ext-diff', '--full-index', '-M', 'MOCK output of child process', '--']\nMOCK run_command: ['git', 'log', '-25']\n" 1454 1454 OutputCapture().assert_outputs(self, self.scm.create_patch, kwargs={'changed_files': None}, expected_stderr=expected_stderr) 1455 1455
Note: See TracChangeset
for help on using the changeset viewer.