summaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
authorPhil Elson <pelson.pub@gmail.com>2016-08-19 08:57:10 +0100
committerPhil Elson <pelson.pub@gmail.com>2016-08-19 08:57:10 +0100
commit25c207592034d00b14fd9df644705f542842fa04 (patch)
tree1b31919357bdaacaf7bb0b6ce1553a0d0ce2b032 /git
parentc1481af08064e10ce485339c6c0233acfc646572 (diff)
downloadgitpython-25c207592034d00b14fd9df644705f542842fa04.tar.gz
Updated unittest.
Diffstat (limited to 'git')
-rw-r--r--git/test/test_refs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/test/test_refs.py b/git/test/test_refs.py
index b75b967b..879b8caa 100644
--- a/git/test/test_refs.py
+++ b/git/test/test_refs.py
@@ -320,8 +320,8 @@ class TestRefs(TestBase):
assert remote_refs_so_far
for remote in remotes:
- # remotes without references throw
- self.failUnlessRaises(AssertionError, getattr, remote, 'refs')
+ # remotes without references should produce an empty list
+ self.assertEqual(remote.refs, [])
# END for each remote
# change where the active head points to