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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/system/path_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/system/path_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/path_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/path_unittest.py
index c0b8287b25c48840f2c974a36e26c809b04f2a7d..465c196c8e1b62f32073af14bcf0e8e127daea59 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/system/path_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/system/path_unittest.py
@@ -34,7 +34,9 @@ from webkitpy.common.system.platforminfo import PlatformInfo
from webkitpy.common.system.platforminfo_mock import MockPlatformInfo
from webkitpy.common.system import path
+
class AbspathTest(unittest.TestCase):
+
def platforminfo(self):
return SystemHost().platform
@@ -42,11 +44,11 @@ class AbspathTest(unittest.TestCase):
if sys.platform != 'cygwin':
return
self.assertEqual(path.abspath_to_uri(self.platforminfo(), '/cygdrive/c/foo/bar.html'),
- 'file:///C:/foo/bar.html')
+ 'file:///C:/foo/bar.html')
def test_abspath_to_uri_unixy(self):
self.assertEqual(path.abspath_to_uri(MockPlatformInfo(), "/foo/bar.html"),
- 'file:///foo/bar.html')
+ 'file:///foo/bar.html')
def test_abspath_to_uri_win(self):
if sys.platform != 'win32':
@@ -63,7 +65,7 @@ class AbspathTest(unittest.TestCase):
if sys.platform != 'cygwin':
return
self.assertEqual(path.abspath_to_uri(self.platforminfo(), '/cygdrive/c/foo/bar + baz%.html'),
- 'file:///C:/foo/bar%20+%20baz%25.html')
+ 'file:///C:/foo/bar%20+%20baz%25.html')
def test_stop_cygpath_subprocess(self):
if sys.platform != 'cygwin':

Powered by Google App Engine
This is Rietveld 408576698