summaryrefslogtreecommitdiff
path: root/git/test/lib/helper.py
diff options
context:
space:
mode:
authorYaroslav Halchenko <debian@onerussian.com>2016-10-02 10:13:22 -0400
committerYaroslav Halchenko <debian@onerussian.com>2016-10-02 10:13:22 -0400
commit31fd955dfcc8176fd65f92fa859374387d3e0095 (patch)
treefbca51a8bf234988fe715ec7b2772db2c0743315 /git/test/lib/helper.py
parentf2b92c66bed6d1eea7b8aefe3405b0898fbb2019 (diff)
downloadgitpython-31fd955dfcc8176fd65f92fa859374387d3e0095.tar.gz
BF: @with_rw_directory must return decorated call
As it was - many tests were simply not accounted/run at all
Diffstat (limited to 'git/test/lib/helper.py')
-rw-r--r--git/test/lib/helper.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py
index a85ac2fd..cf5efa9e 100644
--- a/git/test/lib/helper.py
+++ b/git/test/lib/helper.py
@@ -107,6 +107,8 @@ def with_rw_directory(func):
gc.collect()
if not keep:
rmtree(path)
+ wrapper.__name__ = func.__name__
+ return wrapper
def with_rw_repo(working_tree_ref, bare=False):