66
59
def test_open_existing(self):
69
62
thebranch = d.create_branch()
70
63
self.assertIsInstance(thebranch, branch.GitBranch)
75
68
thebranch = d.create_branch()
76
69
self.assertEquals("<LocalGitBranch('file://%s/', 'HEAD')>" % self.test_dir, repr(thebranch))
78
71
def test_last_revision_is_null(self):
81
74
thebranch = thedir.create_branch()
82
75
self.assertEqual(revision.NULL_REVISION, thebranch.last_revision())
83
76
self.assertEqual((0, revision.NULL_REVISION),