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): |