aboutsummaryrefslogtreecommitdiff
path: root/tests/doctests/test_GitRepository.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/doctests/test_GitRepository.py')
-rw-r--r--tests/doctests/test_GitRepository.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/doctests/test_GitRepository.py b/tests/doctests/test_GitRepository.py
index 348c560..cc3933a 100644
--- a/tests/doctests/test_GitRepository.py
+++ b/tests/doctests/test_GitRepository.py
@@ -823,7 +823,7 @@ def test_checkout():
def test_gc():
"""
- Test garbace collection
+ Test garbage collection
Methods tested:
- L{gbp.git.GitRepository.collect_garbage}
@@ -831,6 +831,8 @@ def test_gc():
>>> import gbp.git
>>> repo = gbp.git.GitRepository(dirs['repo'])
>>> repo.collect_garbage()
+ >>> repo.collect_garbage(prune=True)
+ >>> repo.collect_garbage(prune='all', aggressive=True)
"""