~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/whitebox.py

  • Committer: Martin Pool
  • Date: 2005-08-19 21:34:32 UTC
  • Revision ID: mbp@sourcefrog.net-20050819213432-4fa923a97c45d845
- add schema and example for new inventory form

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
import os
4
4
import unittest
5
5
 
6
 
from bzrlib.selftest import InTempDir, TestCase
 
6
from bzrlib.selftest import InTempDir, TestBase
7
7
from bzrlib.branch import ScratchBranch, Branch
8
8
from bzrlib.errors import NotBranchError, NotVersionedError
9
9
 
55
55
        
56
56
 
57
57
 
58
 
class ValidateRevisionId(TestCase):
 
58
class ValidateRevisionId(TestBase):
59
59
    def runTest(self):
60
60
        from bzrlib.revision import validate_revision_id
61
61
        validate_revision_id('mbp@sourcefrog.net-20050311061123-96a255005c7c9dbe')
179
179
        
180
180
 
181
181
 
182
 
class BranchPathTestCase(TestCase):
 
182
class BranchPathTestCase(TestBase):
183
183
    """test for branch path lookups
184
184
 
185
185
    Branch.relpath and bzrlib.branch._relpath do a simple but subtle