Index: client/tests/isolate_test.py |
diff --git a/client/tests/isolate_test.py b/client/tests/isolate_test.py |
index b21bef30662c7a8ce8aa9a3a04e49c6e2a0341c6..693cfafd923a3b0b6e95a35c72222b2c05987aff 100755 |
--- a/client/tests/isolate_test.py |
+++ b/client/tests/isolate_test.py |
@@ -25,6 +25,7 @@ import isolate_format |
import isolated_format |
import isolateserver |
from utils import file_path |
+from utils import logging_utils |
from utils import tools |
import test_utils |
@@ -103,6 +104,9 @@ class IsolateBase(auto_stub.TestCase): |
unicode(tempfile.mkdtemp(prefix=u'isolate_'))) |
# Everything should work even from another directory. |
os.chdir(self.cwd) |
+ self.mock( |
+ logging_utils.OptionParserWithLogging, 'logger_root', |
+ logging.Logger('unittest')) |
def tearDown(self): |
try: |
@@ -1376,7 +1380,8 @@ class IsolateCommand(IsolateBase): |
join('y.isolated.gen.json'), |
] |
self.assertEqual( |
- 0, isolate.CMDbatcharchive(tools.OptionParserWithLogging(), cmd)) |
+ 0, |
+ isolate.CMDbatcharchive(logging_utils.OptionParserWithLogging(), cmd)) |
expected = [ |
{ |
'base_url': 'http://localhost:1', |