~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-25 09:17:19 UTC
  • Revision ID: mbp@sourcefrog.net-20050825091719-b2d7be7bf56bb35a
- fix a few errors in new merge code

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
from bzrlib.selftest import InTempDir
18
18
 
19
19
 
 
20
 
20
21
class TestAppendRevisions(InTempDir):
21
22
    """Test appending more than one revision"""
22
23
    def test_append_revisions(self):
26
27
        self.assertEquals(br.revision_history(), ["rev1",])
27
28
        br.append_revision("rev2", "rev3")
28
29
        self.assertEquals(br.revision_history(), ["rev1", "rev2", "rev3"])
 
30
        
 
31
 
 
32
 
 
33
TEST_CLASSES = [
 
34
    TestAppendRevisions,
 
35
    ]
 
36
 
29
37
 
30
38
 
31
39
# TODO: rewrite this as a regular unittest, without relying on the displayed output