Make checkout_unittest more robust against files moving around
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Jul 2011 20:02:23 +0000 (20:02 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Jul 2011 20:02:23 +0000 (20:02 +0000)
commitb8f9c7286dde1be39b2542b457854bf73c840ec5
treef04527be49e2900edb2b82efa93e2dae14fdb013
parentbcb3d4889ffc3a1ee3469e20f2bc375691eff926
Make checkout_unittest more robust against files moving around

Fixes <http://webkit.org/b/64197> checkout_unittest contains ugly, fragile code to find the
Scripts directory

Reviewed by Adam Barth.

* Scripts/webkitpy/common/checkout/checkout_unittest.py:
(CommitMessageForThisCommitTest.test_commit_message_for_this_commit): Instantiate a real SCM
object and use it to get the path to the Scripts directory, rather than hard-coding the
relative path from this file to Scripts.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@90659 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/common/checkout/checkout_unittest.py