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

Unified Diff: Tools/Scripts/webkitpy/layout_tests/lint_test_expectations_unittest.py

Issue 546133003: Reformat webkitpy.layout_tests w/ format-webkitpy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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
Index: Tools/Scripts/webkitpy/layout_tests/lint_test_expectations_unittest.py
diff --git a/Tools/Scripts/webkitpy/layout_tests/lint_test_expectations_unittest.py b/Tools/Scripts/webkitpy/layout_tests/lint_test_expectations_unittest.py
index 28ed16bc314bcbe729d92d3a9d5c8028b56669d0..d70ec0e8b405f23ef9a36bce7bfe7c76f2e711b3 100644
--- a/Tools/Scripts/webkitpy/layout_tests/lint_test_expectations_unittest.py
+++ b/Tools/Scripts/webkitpy/layout_tests/lint_test_expectations_unittest.py
@@ -35,6 +35,7 @@ from webkitpy.layout_tests import lint_test_expectations
class FakePort(object):
+
def __init__(self, host, name, path):
self.host = host
self.name = name
@@ -65,7 +66,9 @@ class FakePort(object):
def path_to_generic_test_expectations_file(self):
return ''
+
class FakeFactory(object):
+
def __init__(self, host, ports):
self.host = host
self.ports = {}
@@ -80,6 +83,7 @@ class FakeFactory(object):
class LintTest(unittest.TestCase):
+
def test_all_configurations(self):
host = MockHost()
host.ports_parsed = []
@@ -113,7 +117,6 @@ class LintTest(unittest.TestCase):
finally:
lint_test_expectations.tear_down_logging(logger, handler)
-
def test_lint_test_files__errors(self):
options = optparse.Values({'platform': 'test', 'debug_rwt_logging': False})
host = MockHost()
@@ -138,6 +141,7 @@ class LintTest(unittest.TestCase):
class CheckVirtualSuiteTest(unittest.TestCase):
+
def test_check_virtual_test_suites(self):
host = MockHost()
options = optparse.Values({'platform': 'test', 'debug_rwt_logging': False})

Powered by Google App Engine
This is Rietveld 408576698