summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav Halchenko <debian@onerussian.com>2016-10-02 10:13:22 -0400
committerKostis Anagnostopoulos <ankostis@gmail.com>2016-10-02 23:32:11 +0200
commite25da8ffc66fb215590a0545f6ad44a3fd06c918 (patch)
treec445298db87c8cd73b9e30dde06631ddd5396a09
parentfd8537b23ce85be6f9dacb7806e791b7f902a206 (diff)
downloadgitpython-e25da8ffc66fb215590a0545f6ad44a3fd06c918.tar.gz
BF: @with_rw_directory must return decorated call
As it was - many tests were simply not accounted/run at all
-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 e55a23df..3ec55399 100644
--- a/git/test/lib/helper.py
+++ b/git/test/lib/helper.py
@@ -111,6 +111,8 @@ def with_rw_directory(func):
if not keep:
rmtree(path)
+ return wrapper
+
def with_rw_repo(working_tree_ref, bare=False):
"""