Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Commit

Permalink
Merge pull request #104 from w3c/jgraham/non_root_path
Browse files Browse the repository at this point in the history
Support running tests mounted under non-root urls from files given on th...
  • Loading branch information
jgraham committed Apr 21, 2015
2 parents e78bc3f + d77ba05 commit 0f6bcaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wptrunner/manifestinclude.py
Expand Up @@ -95,7 +95,7 @@ def _add_rule(self, test_manifests, url, direction):
for manifest, data in test_manifests.iteritems():
rel_path = os.path.relpath(maybe_path, data["tests_path"])
if ".." not in rel_path.split(os.sep):
url = "/" + rel_path.replace(os.path.sep, "/") + variant
url = data["url_base"] + rel_path.replace(os.path.sep, "/") + variant
break

assert direction in ("include", "exclude")
Expand Down

0 comments on commit 0f6bcaa

Please sign in to comment.