Adjust import path for WPT tests to accommodate upstream.

This commit is contained in:
Josh Matthews 2018-07-24 18:00:39 -04:00 committed by GitHub
parent 65df9cb73a
commit 2dff49174c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,8 @@ def servo_path(*args):
paths = {"include_manifest": wpt_path("include.ini"),
"config": wpt_path("config.ini")}
# Imports
sys.path.append(wpt_path("web-platform-tests", "tools", "wptrunner"))
sys.path.append(wpt_path("web-platform-tests", "tools"))
import localpaths
from wptrunner import wptrunner, wptcommandline