~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testrevisionnamespaces.py

  • Committer: aaron.bentley at utoronto
  • Date: 2005-08-27 04:42:41 UTC
  • mfrom: (1092.1.43)
  • mto: (1185.3.4)
  • mto: This revision was merged to the branch mainline in revision 1178.
  • Revision ID: aaron.bentley@utoronto.ca-20050827044241-23d676133b9fc981
Merge of robertc@robertcollins.net-20050826013321-52eee1f1da679ee9

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
16
 
17
17
 
18
 
from bzrlib.selftest import InTempDir, TestBase
 
18
from bzrlib.selftest import InTempDir
19
19
 
20
20
class TestRevisionNamespaces(InTempDir):
21
 
    """Functional tests for hashcache"""
22
 
    def runTest(self):
 
21
 
 
22
    def test_revision_namespaces(self):
 
23
        """Functional tests for hashcache"""
23
24
        from bzrlib.errors import NoSuchRevision
24
25
        from bzrlib.branch import Branch
25
26
        import os
47
48
        os.mkdir('newbranch')
48
49
        b2 = Branch('newbranch', init=True)
49
50
        self.assertEquals(b2.lookup_revision('revid:a@r-0-1'), 'a@r-0-1')
50
 
 
51
 
TEST_CLASSES = [
52
 
    TestRevisionNamespaces
53
 
    ]