aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_GitRepository.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/test_GitRepository.py b/tests/test_GitRepository.py
index dd713c12..f7e5e97a 100644
--- a/tests/test_GitRepository.py
+++ b/tests/test_GitRepository.py
@@ -333,6 +333,19 @@ def test_pull():
>>> clone.pull()
"""
+def test_fetch():
+ """
+ Fetch from a remote repository
+
+ Methods tested:
+ - L{gbp.git.GitRepository.fetch}
+
+ >>> import gbp.git, os
+ >>> d = os.path.join(clone_dir, 'gbp_%s_test_repo' % __name__)
+ >>> clone = gbp.git.GitRepository(d)
+ >>> clone.fetch()
+ """
+
def test_create_bare():
"""
Create a bare repository