| Index: chrome/common/extensions/docs/server2/test_urlfetch.py
|
| diff --git a/chrome/common/extensions/docs/server2/test_urlfetch.py b/chrome/common/extensions/docs/server2/test_urlfetch.py
|
| index 6102624be9dd7134170e0f6f0e13cf6185554f63..a14bd303f5fb49d4ce1ad3d2ba3891be85037d56 100644
|
| --- a/chrome/common/extensions/docs/server2/test_urlfetch.py
|
| +++ b/chrome/common/extensions/docs/server2/test_urlfetch.py
|
| @@ -2,6 +2,8 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +import os
|
| +
|
| def _ReadFile(filename):
|
| with open(filename, 'r') as f:
|
| return f.read()
|
| @@ -12,5 +14,5 @@ class _MockResponse(object):
|
|
|
| def fetch(url):
|
| result = _MockResponse()
|
| - result.content = _ReadFile('test_data/' + url)
|
| + result.content = _ReadFile(os.path.join('test_data', url))
|
| return result
|
|
|