summaryrefslogtreecommitdiff
path: root/git/test/test_remote.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2014-07-03 09:48:16 +0200
committerSebastian Thiel <byronimo@gmail.com>2014-07-03 09:48:16 +0200
commit29d94c622a7f6f696d899e5bb3484c925b5d4441 (patch)
treeda1bc140cf349500fefa7497df7169dc98cba01d /git/test/test_remote.py
parent5ae512e69f37e37431239c8da6ffa48c75684f87 (diff)
parent237d47b9d714fcc2eaedff68c6c0870ef3e0041a (diff)
downloadgitpython-29d94c622a7f6f696d899e5bb3484c925b5d4441.tar.gz
Merge pull request #170 from rbtcollins/0.3
Support multiple refspecs in fetch.
Diffstat (limited to 'git/test/test_remote.py')
-rw-r--r--git/test/test_remote.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/git/test/test_remote.py b/git/test/test_remote.py
index a7f1be22..b1248096 100644
--- a/git/test/test_remote.py
+++ b/git/test/test_remote.py
@@ -199,6 +199,10 @@ class TestRemote(TestBase):
# ... with respec and no target
res = fetch_and_test(remote, refspec='master')
assert len(res) == 1
+
+ # ... multiple refspecs
+ res = fetch_and_test(remote, refspec=['master', 'fred'])
+ assert len(res) == 1
# add new tag reference
rtag = TagReference.create(remote_repo, "1.0-RV_hello.there")