Index: third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer_unittest.py |
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer_unittest.py |
index ec78ff1375d5e10c55ea04d14a9480ae3b608651..497692028877eed80ac5e1d1d147f8c07c518ee8 100644 |
--- a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer_unittest.py |
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/test_importer_unittest.py |
@@ -46,6 +46,7 @@ FAKE_FILES = { |
'/mock-checkout/third_party/WebKit/LayoutTests/W3CImportExpectations': '', |
} |
+ |
class TestImporterTest(unittest.TestCase): |
def test_import_dir_with_no_tests_and_no_hg(self): |
@@ -53,7 +54,8 @@ class TestImporterTest(unittest.TestCase): |
host.executive = MockExecutive2(exception=OSError()) |
host.filesystem = MockFileSystem(files=FAKE_FILES) |
- importer = TestImporter(host, FAKE_SOURCE_DIR, FAKE_REPO_DIR, optparse.Values({"overwrite": False, 'destination': 'w3c', 'ignore_expectations': False})) |
+ importer = TestImporter(host, FAKE_SOURCE_DIR, FAKE_REPO_DIR, optparse.Values( |
+ {"overwrite": False, 'destination': 'w3c', 'ignore_expectations': False})) |
oc = OutputCapture() |
oc.capture_output() |
@@ -64,10 +66,12 @@ class TestImporterTest(unittest.TestCase): |
def test_import_dir_with_no_tests(self): |
host = MockHost() |
- host.executive = MockExecutive2(exception=ScriptError("abort: no repository found in '/Volumes/Source/src/wk/Tools/Scripts/webkitpy/w3c' (.hg not found)!")) |
+ host.executive = MockExecutive2(exception=ScriptError( |
+ "abort: no repository found in '/Volumes/Source/src/wk/Tools/Scripts/webkitpy/w3c' (.hg not found)!")) |
host.filesystem = MockFileSystem(files=FAKE_FILES) |
- importer = TestImporter(host, FAKE_SOURCE_DIR, FAKE_REPO_DIR, optparse.Values({"overwrite": False, 'destination': 'w3c', 'ignore_expectations': False})) |
+ importer = TestImporter(host, FAKE_SOURCE_DIR, FAKE_REPO_DIR, optparse.Values( |
+ {"overwrite": False, 'destination': 'w3c', 'ignore_expectations': False})) |
oc = OutputCapture() |
oc.capture_output() |
try: |