Index: tests/gclient_utils_test.py |
=================================================================== |
--- tests/gclient_utils_test.py (revision 37929) |
+++ tests/gclient_utils_test.py (working copy) |
@@ -1,15 +1,16 @@ |
#!/usr/bin/python |
-# Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. |
+# Copyright (c) 2010 The Chromium Authors. All rights reserved. |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-import re |
import StringIO |
-import gclient_utils |
+# Fixes include path. |
from super_mox import SuperMoxTestBase |
+import gclient_utils |
+ |
class GclientUtilsUnittest(SuperMoxTestBase): |
"""General gclient_utils.py tests.""" |
def testMembersChanged(self): |
@@ -82,7 +83,7 @@ |
stdout=gclient_utils.subprocess.PIPE, |
stderr=gclient_utils.subprocess.STDOUT).AndReturn(kid) |
self.mox.ReplayAll() |
- compiled_pattern = re.compile(pattern) |
+ compiled_pattern = gclient_utils.re.compile(pattern) |
line_list = [] |
capture_list = [] |
def FilterLines(line): |
Property changes on: tests/gclient_utils_test.py |
___________________________________________________________________ |
Added: svn:executable |
+ * |