summaryrefslogtreecommitdiff
path: root/git/test/test_repo.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/test/test_repo.py')
-rw-r--r--git/test/test_repo.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/git/test/test_repo.py b/git/test/test_repo.py
index e65ead89..7fc49f3b 100644
--- a/git/test/test_repo.py
+++ b/git/test/test_repo.py
@@ -974,6 +974,11 @@ class TestRepo(TestBase):
commit = repo.head.commit
self.assertIsInstance(commit, Object)
+ # this ensures we can read the remotes, which confirms we're reading
+ # the config correctly.
+ origin = repo.remotes.origin
+ self.assertIsInstance(origin, Remote)
+
self.assertIsInstance(repo.heads['aaaaaaaa'], Head)
@with_rw_directory