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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/find_files_unittest.py

Issue 1839193004: Run auto-formatter (autopep8) on webkitpy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 9 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
Index: third_party/WebKit/Tools/Scripts/webkitpy/common/find_files_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/find_files_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/find_files_unittest.py
index f0fe01c56c864b79b61603507e724bb0929eb408..665b45562714a8058188db14fcdd271d8d32dfe3 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/find_files_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/find_files_unittest.py
@@ -34,6 +34,7 @@ import find_files
class MockWinFileSystem(object):
+
def join(self, *paths):
return '\\'.join(paths)
@@ -42,10 +43,11 @@ class MockWinFileSystem(object):
class TestWinNormalize(unittest.TestCase):
+
def assert_filesystem_normalizes(self, filesystem):
self.assertEqual(find_files._normalize(filesystem, "c:\\foo",
- ['fast/html', 'fast/canvas/*', 'compositing/foo.html']),
- ['c:\\foo\\fast\html', 'c:\\foo\\fast\canvas\*', 'c:\\foo\compositing\\foo.html'])
+ ['fast/html', 'fast/canvas/*', 'compositing/foo.html']),
+ ['c:\\foo\\fast\html', 'c:\\foo\\fast\canvas\*', 'c:\\foo\compositing\\foo.html'])
def test_mocked_win(self):
# This tests test_files.normalize, using portable behavior emulating

Powered by Google App Engine
This is Rietveld 408576698