Chromium Code Reviews| Index: tests/owners_unittest.py |
| diff --git a/tests/owners_unittest.py b/tests/owners_unittest.py |
| index 92029bc60f9557e1e8a14a4784e8f92dde59e896..24bb8f30a143d6893adb63b5efc2db650b445236 100755 |
| --- a/tests/owners_unittest.py |
| +++ b/tests/owners_unittest.py |
| @@ -1,12 +1,16 @@ |
| -#!/usr/bin/python |
| +#!/usr/bin/env python2.5 |
| # Copyright (c) 2011 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. |
| """Unit tests for owners.py.""" |
| +import os |
| +import sys |
| import unittest |
| +sys.path.insert(0, os.path.dirname(os.path.dirname(__file__))) |
|
Dirk Pranke
2011/03/31 19:07:44
Why is this needed?
M-A Ruel
2011/03/31 19:14:47
It's not guaranteed that 'depot_tools' will be in
|
| + |
| import owners |
| from tests import filesystem_mock |