summaryrefslogtreecommitdiff
path: root/test/git/test_repo.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-10-18 18:01:52 +0200
committerSebastian Thiel <byronimo@gmail.com>2009-10-19 15:04:25 +0200
commita8f8582274cd6a368a79e569e2995cee7d6ea9f9 (patch)
treeff60fb48a7de1b0b4657c95a93aa70ff388eaa8b /test/git/test_repo.py
parent8f42db54c6b2cfbd7d68e6d34ac2ed70578402f7 (diff)
downloadgitpython-a8f8582274cd6a368a79e569e2995cee7d6ea9f9.tar.gz
added initial frame for remote handling- remotes are somewhat related to either parsing the command output or to reading the repo configuration which would be faster
Diffstat (limited to 'test/git/test_repo.py')
-rw-r--r--test/git/test_repo.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/git/test_repo.py b/test/git/test_repo.py
index 0d8a473d..b30f6889 100644
--- a/test/git/test_repo.py
+++ b/test/git/test_repo.py
@@ -34,6 +34,11 @@ class TestRepo(TestCase):
for head in self.repo.heads:
assert_equal(Head, head.__class__)
+ def test_renites_should_return_array_of_remote_objects(self):
+ for remote in self.repo.remotes:
+ assert_equal(Remote, remote.__class__)
+
+
def test_heads_should_populate_head_data(self):
for head in self.repo.heads:
assert head.name