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