diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-26 05:31:27 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-26 05:31:27 +0000 |
commit | f31a93fab3a781d0c78163fde7018a6bfcd53e6c (patch) | |
tree | 30e8603400cc959385dba525ca83315a11f7c7f2 /net/test | |
parent | aa0ec16fae90dcaab246854ed0fdac317cd6e56f (diff) | |
download | chromium_src-f31a93fab3a781d0c78163fde7018a6bfcd53e6c.zip chromium_src-f31a93fab3a781d0c78163fde7018a6bfcd53e6c.tar.gz chromium_src-f31a93fab3a781d0c78163fde7018a6bfcd53e6c.tar.bz2 |
Added third_party to python path for testserver.
This is split off from 5196001.
BUG=53934
TEST=manually
TBR=cbentzel
Review URL: http://codereview.chromium.org/5370003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67434 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/test')
-rw-r--r-- | net/test/test_server.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/test/test_server.cc b/net/test/test_server.cc index 0e8c461..1ae2c5b 100644 --- a/net/test/test_server.cc +++ b/net/test/test_server.cc @@ -278,6 +278,11 @@ bool TestServer::SetPythonPath() { } third_party_dir = third_party_dir.Append(FILE_PATH_LITERAL("third_party")); + // For simplejson. (simplejson, unlike all the other python modules + // we include, doesn't have an extra 'simplejson' directory, so we + // need to include its parent directory, i.e. third_party_dir). + AppendToPythonPath(third_party_dir); + AppendToPythonPath(third_party_dir.Append(FILE_PATH_LITERAL("tlslite"))); AppendToPythonPath(third_party_dir.Append(FILE_PATH_LITERAL("pyftpdlib"))); |