diff options
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"))); |