summaryrefslogtreecommitdiff
path: root/tests/sandboxes/missing-command.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sandboxes/missing-command.py')
-rw-r--r--tests/sandboxes/missing-command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sandboxes/missing-command.py b/tests/sandboxes/missing-command.py
index a2b56d4a7..ee6d11280 100644
--- a/tests/sandboxes/missing-command.py
+++ b/tests/sandboxes/missing-command.py
@@ -14,6 +14,6 @@ DATA_DIR = os.path.join(
@pytest.mark.datafiles(DATA_DIR)
def test_missing_command(cli, datafiles):
- project = os.path.join(datafiles.dirname, datafiles.basename)
+ project = str(datafiles)
result = cli.run(project=project, args=['build', 'no-runtime.bst'])
result.assert_task_error(ErrorDomain.SANDBOX, 'missing-command')