From 989671780551b7587d57e1d7cb5eb1002ade75b4 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 19 Oct 2009 23:44:18 +0200 Subject: Implemneted IterableLists for refs, commits and remote objects including simple tests --- test/git/test_repo.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/git/test_repo.py') diff --git a/test/git/test_repo.py b/test/git/test_repo.py index 197a29cb..f9d81c69 100644 --- a/test/git/test_repo.py +++ b/test/git/test_repo.py @@ -39,6 +39,9 @@ class TestRepo(TestCase): assert head.name assert isinstance(head.commit,Commit) # END for each head + + assert isinstance(self.repo.heads.master, Head) + assert isinstance(self.repo.heads['master'], Head) @patch_object(Git, '_call_process') def test_commits(self, git): -- cgit v1.2.1