Skip to content

Commit

Permalink
util: testing: consoletest: runner: Resolve paths to repo and docs
Browse files Browse the repository at this point in the history
Signed-off-by: John Andersen <johnandersenpdx@gmail.com>
  • Loading branch information
pdxjohnny committed Apr 30, 2021
1 parent 60088c4 commit 469dc6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dffml/util/testing/consoletest/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ async def run_nodes(
setup: Optional[List[ConsoletestCommand]] = None,
) -> None:
# Ensure pathlib objects
repo_root_dir = pathlib.Path(repo_root_dir)
docs_root_dir = pathlib.Path(docs_root_dir)
repo_root_dir = pathlib.Path(repo_root_dir).resolve()
docs_root_dir = pathlib.Path(docs_root_dir).resolve()
# Create an async exit stack
async with contextlib.AsyncExitStack() as astack:
tempdir = stack.enter_context(tempfile.TemporaryDirectory())
Expand Down

0 comments on commit 469dc6d

Please sign in to comment.