~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-24 02:34:24 UTC
  • Revision ID: mbp@sourcefrog.net-20050824023424-67667e2b57c3d7d0
- merge test refactoring from robertc

  More of the common test infrastructure to do with 
  making temporary directories, etc, is now done from a 
  TestCase subclass, and generally have less magic
  compared to unittest. 

robertc@robertcollins.net-20050823111339-fb55b8ce170b20e0

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
class TestAppendRevisions(InTempDir):
22
22
    """Test appending more than one revision"""
23
 
    def runTest(self):
 
23
    def test_append_revisions(self):
24
24
        from bzrlib.branch import Branch
25
25
        br = Branch(".", init=True)
26
26
        br.append_revision("rev1")