Skip to content

Commit

Permalink
fixup! Support running all tests from a specific path. (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraham committed Mar 28, 2017
1 parent 6386073 commit 5b30893
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wptrunner/manifestinclude.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ def _add_rule(self, test_manifests, url, direction):
found = False
rel_path = os.path.relpath(path, data["tests_path"])
for test in manifest.iterpath(rel_path):
if not hasattr(test, "url"):
continue
url = test.url
if query or fragment:
parsed = urlparse.urlparse(url)
Expand Down

0 comments on commit 5b30893

Please sign in to comment.