diff options
author | Yaroslav Halchenko <debian@onerussian.com> | 2016-10-02 10:13:22 -0400 |
---|---|---|
committer | Yaroslav Halchenko <debian@onerussian.com> | 2016-10-02 10:13:22 -0400 |
commit | 31fd955dfcc8176fd65f92fa859374387d3e0095 (patch) | |
tree | fbca51a8bf234988fe715ec7b2772db2c0743315 /git/test/lib/helper.py | |
parent | f2b92c66bed6d1eea7b8aefe3405b0898fbb2019 (diff) | |
download | gitpython-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.py | 2 |
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): |