From 3a2800caf0688e4bb9c813a239a939b678ea798a Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Wed, 1 Feb 2023 22:01:52 -0500 Subject: dev-python/heudiconv: fixed tests Signed-off-by: Horea Christian --- .../heudiconv/files/heudiconv-0.11.6-gitenv.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 dev-python/heudiconv/files/heudiconv-0.11.6-gitenv.patch (limited to 'dev-python/heudiconv/files') diff --git a/dev-python/heudiconv/files/heudiconv-0.11.6-gitenv.patch b/dev-python/heudiconv/files/heudiconv-0.11.6-gitenv.patch new file mode 100644 index 000000000..27bc441aa --- /dev/null +++ b/dev-python/heudiconv/files/heudiconv-0.11.6-gitenv.patch @@ -0,0 +1,21 @@ +From 0c30781248e0c1f2d437e0dfd923a74d7e647411 Mon Sep 17 00:00:00 2001 +From: Horea Christian +Date: Wed, 1 Feb 2023 21:34:58 -0500 +Subject: [PATCH] Setting git author and email in test environment + +--- + heudiconv/tests/conftest.py | 3 +++ + 1 file changed, 3 insertions(+) + create mode 100644 heudiconv/tests/conftest.py + +diff --git /dev/null b/heudiconv/tests/conftest.py +new file mode 100644 +index 00000000..f4f47d16 +--- /dev/null ++++ b/heudiconv/tests/conftest.py +@@ -0,0 +1,5 @@ ++import os ++os.environ["GIT_AUTHOR_EMAIL"] = "maxm@example.com" ++os.environ["GIT_AUTHOR_NAME"] = "Max Mustermann" ++os.environ["GIT_COMMITTER_EMAIL"] = "maxm@example.com" ++os.environ["GIT_COMMITTER_NAME"] = "Max Mustermann" -- cgit v1.2.3-65-gdbad