From a8f8582274cd6a368a79e569e2995cee7d6ea9f9 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 18 Oct 2009 18:01:52 +0200 Subject: 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 --- test/git/test_repo.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/git/test_repo.py') 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 -- cgit v1.2.1