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

Unified Diff: Tools/Scripts/webkitpy/common/system/filesystem_unittest.py

Issue 493413002: Fix runtime error in copytree() MockFileSystem (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing comments Created 6 years, 4 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 | « Tools/Scripts/webkitpy/common/system/filesystem_mock.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/Scripts/webkitpy/common/system/filesystem_unittest.py
diff --git a/Tools/Scripts/webkitpy/common/system/filesystem_unittest.py b/Tools/Scripts/webkitpy/common/system/filesystem_unittest.py
index 6a5781dbbda74a2f1f1dc849a7787c02e9f44464..736516c1258c411665286aa3b035794230175593 100644
--- a/Tools/Scripts/webkitpy/common/system/filesystem_unittest.py
+++ b/Tools/Scripts/webkitpy/common/system/filesystem_unittest.py
@@ -118,6 +118,11 @@ class GenericFileSystemTests(object):
self.assertFalse(self.fs.exists('foodir'))
self.assertFalse(self.fs.exists(self.fs.join('foodir', 'baz')))
+ def test_copytree(self):
+ self.fs.chdir(self.generic_test_dir)
+ self.fs.copytree('foodir/', 'bardir/')
+ self.assertTrue(self.fs.exists('bardir'))
+ self.assertTrue(self.fs.exists(self.fs.join('bardir', 'baz')))
class RealFileSystemTest(unittest.TestCase, GenericFileSystemTests):
def setUp(self):
« no previous file with comments | « Tools/Scripts/webkitpy/common/system/filesystem_mock.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698