Skip to content

Commit

Permalink
Use crate_dirname
Browse files Browse the repository at this point in the history
  • Loading branch information
Seb-MCaw committed Oct 18, 2024
1 parent 2f3ef61 commit 4e9d697
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testsuite/tests/index/git-local/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import shutil
import subprocess

from drivers.alr import init_local_crate, run_alr
from drivers.alr import run_alr, crate_dirname
from drivers.helpers import init_git_repo, git_branch
from drivers.asserts import assert_eq, assert_match

Expand Down Expand Up @@ -37,7 +37,7 @@ def check_index_works():
asserting success.
"""
run_alr("get", "hello")
deploy_dir = run_alr("get", "hello", "--dirname").out.strip()
deploy_dir = crate_dirname("hello")
os.chdir(deploy_dir)
assert_eq("Hello, world!\n", run_alr("run").out)
os.chdir("..")
Expand Down

0 comments on commit 4e9d697

Please sign in to comment.