summaryrefslogtreecommitdiff
path: root/tests/format/assertion.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/format/assertion.py')
-rw-r--r--tests/format/assertion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/format/assertion.py b/tests/format/assertion.py
index 8e112658f..cfab105b6 100644
--- a/tests/format/assertion.py
+++ b/tests/format/assertion.py
@@ -23,7 +23,7 @@ DATA_DIR = os.path.join(
('ordered-assertion.bst', 'True', 'True', "It's not horsy time yet"),
])
def test_assertion_cli(cli, datafiles, target, opt_pony, opt_horsy, assertion):
- project = os.path.join(datafiles.dirname, datafiles.basename)
+ project = str(datafiles)
result = cli.run(project=project, silent=True, args=[
'--option', 'pony', opt_pony,
'--option', 'horsy', opt_horsy,