Make the new project API fully work in tests

This commit is contained in:
Dave Halter
2018-01-17 09:54:11 +01:00
parent fe813292cf
commit 9b5e3447d9
6 changed files with 20 additions and 14 deletions

View File

@@ -43,7 +43,10 @@ def test_versions(version):
def test_load_module(evaluator):
access_path = evaluator.compiled_subprocess.load_module(name=u'math')
access_path = evaluator.compiled_subprocess.load_module(
name=u'math',
sys_path=evaluator.get_sys_path()
)
name, access_handle = access_path.accesses[0]
assert access_handle.py__bool__() is True