aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test_GitRepository.py
diff options
context:
space:
mode:
authorLingchaox Xin <lingchaox.xin@intel.com>2013-07-05 17:50:48 +0800
committerGuido Günther <agx@sigxcpu.org>2013-09-10 09:18:11 +0200
commitdb79c5db34498bc353f7d1e10bb1f4b7140d876b (patch)
tree89a0f88e3f1192020e6d2703ae207767519ccd35 /tests/test_GitRepository.py
parentd28c7cc11055105262a3eff80f3c3a6885dda594 (diff)
GitRepository.pull: Add 'all_remotes' option
Also changes the method to utilize the GitArgs class. Signed-off-by: Lingchaox Xin <lingchaox.xin@intel.com> Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'tests/test_GitRepository.py')
-rw-r--r--tests/test_GitRepository.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_GitRepository.py b/tests/test_GitRepository.py
index b12f8d41..f48db0a9 100644
--- a/tests/test_GitRepository.py
+++ b/tests/test_GitRepository.py
@@ -595,6 +595,8 @@ def test_pull():
>>> clone = gbp.git.GitRepository(d)
>>> clone.set_branch('master')
>>> clone.pull()
+ >>> clone.pull(all_remotes=True)
+ >>> clone.pull('origin', all_remotes=True)
"""
def test_fetch():