diff options
| author | Sebastian Thiel <byronimo@gmail.com> | 2009-10-19 23:44:18 +0200 |
|---|---|---|
| committer | Sebastian Thiel <byronimo@gmail.com> | 2009-10-19 23:44:18 +0200 |
| commit | 989671780551b7587d57e1d7cb5eb1002ade75b4 (patch) | |
| tree | ef1c02449ee980c2f0fa6182a537fc3412830a39 /test/git/test_repo.py | |
| parent | b9cb007076542e32f7b99bb18bc6ec424f3b407b (diff) | |
| download | gitpython-989671780551b7587d57e1d7cb5eb1002ade75b4.tar.gz | |
Implemneted IterableLists for refs, commits and remote objects including simple tests
Diffstat (limited to 'test/git/test_repo.py')
| -rw-r--r-- | test/git/test_repo.py | 3 |
1 files changed, 3 insertions, 0 deletions
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): |
