~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testrevisionnamespaces.py

  • Committer: Robert Collins
  • Date: 2005-08-24 12:13:13 UTC
  • mto: (974.1.50) (1185.1.10) (1092.3.1)
  • mto: This revision was merged to the branch mainline in revision 1139.
  • Revision ID: robertc@robertcollins.net-20050824121313-f604a90d56310911
merge up with mpool

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
from bzrlib.selftest import InTempDir
19
19
 
20
20
class TestRevisionNamespaces(InTempDir):
21
 
    """Functional tests for hashcache"""
22
 
    def runTest(self):
 
21
    def test_revision_namespaces(self):
 
22
        """Functional tests for hashcache"""
23
23
        from bzrlib.errors import BzrError
24
24
        from bzrlib.branch import Branch
25
25
        import os
40
40
        self.assertEquals(b.get_revision_info('date:+today'), (1, 'a@r-0-1'))
41
41
 
42
42
        self.assertEquals(b.get_revision_info('last:1'), (3, 'a@r-0-3'))
43
 
 
44
 
TEST_CLASSES = [
45
 
    TestRevisionNamespaces
46
 
    ]