[diffoscope] 04/05: t/comparators/utils/data: add a load_fixture() function wrapping both init_fixture() and data()
Mattia Rizzolo
mattia at debian.org
Mon Jan 16 21:36:38 UTC 2017
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository diffoscope.
commit 821da514997f7f8ac8d384e989f779297a1bb230
Author: Mattia Rizzolo <mattia at debian.org>
Date: Sun Jan 15 20:01:51 2017 +0100
t/comparators/utils/data: add a load_fixture() function wrapping both init_fixture() and data()
---
tests/comparators/utils/data.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/comparators/utils/data.py b/tests/comparators/utils/data.py
index f73e356..e2da749 100644
--- a/tests/comparators/utils/data.py
+++ b/tests/comparators/utils/data.py
@@ -38,3 +38,7 @@ def data(filename):
'data',
filename,
)
+
+
+def load_fixture(filename):
+ return init_fixture(data(filename))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the Reproducible-commits
mailing list