/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_revision_history.py

  • Committer: John Arbash Meinel
  • Date: 2010-02-10 17:52:08 UTC
  • mfrom: (5021 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5023.
  • Revision ID: john@arbash-meinel.com-20100210175208-bubuwav4uqigu291
Merge bzr.dev 5021 to resolve NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2007 Canonical Ltd
 
1
# Copyright (C) 2007-2010 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
21
21
    errors,
22
22
    revision as _mod_revision,
23
23
    )
24
 
from bzrlib.tests.per_branch.test_branch import TestCaseWithBranch
25
 
 
26
 
 
27
 
class TestLastRevision(TestCaseWithBranch):
 
24
from bzrlib.tests import per_branch
 
25
 
 
26
 
 
27
class TestLastRevision(per_branch.TestCaseWithBranch):
28
28
    """Tests for the last_revision property of the branch.
29
29
    """
30
30
 
47
47
        ##         br.set_last_revision_info, 4, 'current:')
48
48
 
49
49
 
50
 
class TestRevisionHistoryCaching(TestCaseWithBranch):
 
50
class TestRevisionHistoryCaching(per_branch.TestCaseWithBranch):
51
51
    """Tests for the caching of branches' revision_history.
52
52
 
53
53
    When locked, branches should avoid regenerating or rereading
201
201
            branch.unlock()
202
202
 
203
203
 
204
 
class TestRevisionHistory(TestCaseWithBranch):
 
204
class TestRevisionHistory(per_branch.TestCaseWithBranch):
205
205
 
206
206
    def test_parent_ghost(self):
207
207
        tree = self.make_branch_and_tree('tree')