14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
21
"""Test appending more than one revision"""
23
22
def test_append_revisions(self):
24
23
from bzrlib.branch import Branch
26
25
br.append_revision("rev1")
27
26
self.assertEquals(br.revision_history(), ["rev1",])
28
27
br.append_revision("rev2", "rev3")
29
28
self.assertEquals(br.revision_history(), ["rev1", "rev2", "rev3"])
39
31
# TODO: rewrite this as a regular unittest, without relying on the displayed output