Show More
@@ -79,8 +79,8 b' class _ChangesetsWithCommitsTestCaseixin' | |||||
79 | assert 'foobar' in self.repo.branches |
|
79 | assert 'foobar' in self.repo.branches | |
80 | assert foobar_tip.branch == 'foobar' |
|
80 | assert foobar_tip.branch == 'foobar' | |
81 | # 'foobar' should be the only branch that contains the new commit |
|
81 | # 'foobar' should be the only branch that contains the new commit | |
82 |
branch |
|
82 | branch_tips = self.repo.branches.values() | |
83 | assert branches[0] != branches[1] |
|
83 | assert branch_tips.count(str(foobar_tip.raw_id)) == 1 | |
84 |
|
84 | |||
85 | def test_new_head_in_default_branch(self): |
|
85 | def test_new_head_in_default_branch(self): | |
86 | tip = self.repo.get_changeset() |
|
86 | tip = self.repo.get_changeset() |
General Comments 0
You need to be logged in to leave comments.
Login now