~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_revisiontree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-10-04 08:13:07 UTC
  • mfrom: (2039.2.4 python25)
  • Revision ID: pqm@pqm.ubuntu.com-20061004081307-413acd85912dbab0
(mbp) let bzr+ssh:// work without paramiko

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
"""Tests for the RevisionTree class."""
19
19
 
20
 
from bzrlib import (
21
 
    revision,
22
 
    )
23
20
import bzrlib
24
21
from bzrlib.tests import TestCaseWithTransport
25
22
from bzrlib.tree import RevisionTree
54
51
        # the parents for a revision_tree(None) are []:
55
52
        self.assertEqual([],
56
53
            self.t.branch.repository.revision_tree(None).get_parent_ids())
57
 
 
58
 
    def test_empty_no_root(self):
59
 
        null_tree = self.t.branch.repository.revision_tree(
60
 
            revision.NULL_REVISION)
61
 
        self.assertIs(None, null_tree.inventory.root)