Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1936)

Unified Diff: Tools/Scripts/webkitpy/common/checkout/scm/scm_unittest.py

Issue 558103003: [SCM tests] Don't forget to change back to original cwd. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/Scripts/webkitpy/common/checkout/scm/scm_unittest.py
diff --git a/Tools/Scripts/webkitpy/common/checkout/scm/scm_unittest.py b/Tools/Scripts/webkitpy/common/checkout/scm/scm_unittest.py
index 67b59eb3005294268f5b2a2bc763873c45e77b21..fb5a4e6ebf50c55391cc75f0e70eb1542a9ae491 100644
--- a/Tools/Scripts/webkitpy/common/checkout/scm/scm_unittest.py
+++ b/Tools/Scripts/webkitpy/common/checkout/scm/scm_unittest.py
@@ -155,6 +155,7 @@ class SCMTestBase(unittest.TestCase):
self._svn_commit('add trunk')
self._rmtree(svn_checkout_path)
+ self._chdir(self.original_cwd)
self._set_up_svn_test_commits(svn_repo_url + "/trunk")
return svn_repo_path
@@ -197,6 +198,7 @@ class SCMTestBase(unittest.TestCase):
# svn does not seem to update after commit as I would expect.
self._run(['svn', 'update'])
self._rmtree(svn_checkout_path)
+ self._chdir(self.original_cwd)
def _tear_down_svn_checkout(self):
self._rmtree(self.temp_directory)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698