~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testbranch.py

  • Committer: Martin Pool
  • Date: 2005-08-29 10:57:01 UTC
  • mfrom: (1092.1.41)
  • Revision ID: mbp@sourcefrog.net-20050829105701-7aaa81ecf1bfee05
- merge in merge improvements and additional tests 
  from aaron and lifeless

robertc@robertcollins.net-20050825131100-85772edabc817481

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
from bzrlib.selftest import InTempDir
18
18
 
19
19
 
20
 
 
21
20
class TestAppendRevisions(InTempDir):
22
21
    """Test appending more than one revision"""
23
22
    def test_append_revisions(self):
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"])
30
 
        
31
 
 
32
 
 
33
 
TEST_CLASSES = [
34
 
    TestAppendRevisions,
35
 
    ]
36
 
 
37
29
 
38
30
 
39
31
# TODO: rewrite this as a regular unittest, without relying on the displayed output