Skip to content

Commit

Permalink
Use absolute path for blessing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Nov 3, 2020
1 parent 86acd68 commit e234546
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/updatetests.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def run_update(differences, test_svg_paths):
@click.argument("testpath")
@click.option("--do-update/--do-not-update", default=False)
def test_path(testpath, do_update):
testpath = os.path.abspath(testpath)
check_names = set(path.name for path in Path(CHECKS).rglob("*.svg"))
test_svg_paths = {
os.path.basename(path): path
Expand Down

0 comments on commit e234546

Please sign in to comment.