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

Commit

Permalink
Support running tests mounted under non-root urls from files given on…
Browse files Browse the repository at this point in the history
… the command line.
  • Loading branch information
jgraham committed Apr 20, 2015
1 parent e78bc3f commit d77ba05
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 d77ba05

Please sign in to comment.