remove use of system llbase module in integration tests; always use the one from this tree
parent
e87000ba07
commit
fd96fe41a6
|
|
@ -122,13 +122,10 @@ namespace tut
|
|||
// finding indra/lib/python. Use our __FILE__, with
|
||||
// raw-string syntax to deal with Windows pathnames.
|
||||
"mydir = os.path.dirname(r'" << __FILE__ << "')\n"
|
||||
"try:\n"
|
||||
" from llbase import llsd\n"
|
||||
"except ImportError:\n"
|
||||
// We expect mydir to be .../indra/llcommon/tests.
|
||||
" sys.path.insert(0,\n"
|
||||
" os.path.join(mydir, os.pardir, os.pardir, 'lib', 'python'))\n"
|
||||
" from indra.base import llsd\n"
|
||||
"sys.path.insert(0,\n"
|
||||
" os.path.join(mydir, os.pardir, os.pardir, 'lib', 'python'))\n"
|
||||
"from indra.base import llsd\n"
|
||||
"\n"
|
||||
"class ProtocolError(Exception):\n"
|
||||
" def __init__(self, msg, data):\n"
|
||||
|
|
|
|||
|
|
@ -1523,10 +1523,7 @@ namespace tut
|
|||
"sys.path.insert(0,\n"
|
||||
" os.path.join(os.path.dirname(r'" __FILE__ "'),\n"
|
||||
" os.pardir, os.pardir, 'lib', 'python'))\n"
|
||||
"try:\n"
|
||||
" from llbase import llsd\n"
|
||||
"except ImportError:\n"
|
||||
" from indra.base import llsd\n")
|
||||
"from indra.base import llsd\n")
|
||||
{}
|
||||
~TestPythonCompatible() {}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue