Changeset 56643 in webkit


Ignore:
Timestamp:
Mar 26, 2010 2:51:15 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-03-26 Eric Seidel <eric@webkit.org>

Unreviewed test fix.
My change conflicted with one of Adam's causing test-webkitpy to fail.

Move commit_message_for_this_commit from scm to checkout
https://bugs.webkit.org/show_bug.cgi?id=36629

  • Scripts/webkitpy/common/checkout/api_unittest.py:
    • modified_changelogs is now on Checkout instead of scm.
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r56642 r56643  
     12010-03-26  Eric Seidel  <eric@webkit.org>
     2
     3        Unreviewed test fix.
     4        My change conflicted with one of Adam's causing test-webkitpy to fail.
     5
     6        Move commit_message_for_this_commit from scm to checkout
     7        https://bugs.webkit.org/show_bug.cgi?id=36629
     8
     9        * Scripts/webkitpy/common/checkout/api_unittest.py:
     10         - modified_changelogs is now on Checkout instead of scm.
     11
    1122010-03-26  Adam Barth  <abarth@webkit.org>
    213
  • trunk/WebKitTools/Scripts/webkitpy/common/checkout/api_unittest.py

    r56638 r56643  
    109109    # ChangeLog is difficult to mock at current.
    110110    def test_commit_message_for_this_commit(self):
    111         mock_scm = Mock()
    112         mock_scm.modified_changelogs = lambda: ["ChangeLog1", "ChangeLog2"]
    113         checkout = Checkout(mock_scm)
     111        checkout = Checkout(None)
     112        checkout.modified_changelogs = lambda: ["ChangeLog1", "ChangeLog2"]
    114113        output = OutputCapture()
    115114        expected_stderr = "Parsing ChangeLog: ChangeLog1\nParsing ChangeLog: ChangeLog2\n"
Note: See TracChangeset for help on using the changeset viewer.