From 7b3ef45167e1c2f7d1b7507c13fcedd914f87da9 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 16 Nov 2010 21:21:09 +0100 Subject: The submodule's branch is now a branch instance, not a plain string anymore --- test/git/test_submodule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/git/test_submodule.py') diff --git a/test/git/test_submodule.py b/test/git/test_submodule.py index b66c4d9f..a8f8f2b7 100644 --- a/test/git/test_submodule.py +++ b/test/git/test_submodule.py @@ -34,7 +34,7 @@ class TestSubmodule(TestBase): assert sm.path == 'lib/git/ext/gitdb' assert sm.path == sm.name # for now, this is True assert sm.url == 'git://gitorious.org/git-python/gitdb.git' - assert sm.branch == 'master' # its unset in this case + assert sm.branch.name == 'master' # its unset in this case assert sm.parent_commit == rwrepo.head.commit # size is invalid self.failUnlessRaises(ValueError, getattr, sm, 'size') -- cgit v1.2.3