~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_repository_vf/test_add_inventory_by_delta.py

  • Committer: John Arbash Meinel
  • Date: 2011-05-11 11:35:28 UTC
  • mto: This revision was merged to the branch mainline in revision 5851.
  • Revision ID: john@arbash-meinel.com-20110511113528-qepibuwxicjrbb2h
Break compatibility with python <2.6.

This includes auditing the code for places where we were doing
explicit 'sys.version' checks and removing them as appropriate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
"""Tests for Repository.add_inventory_by_delta."""
18
18
 
19
19
from bzrlib import errors, revision
20
 
from bzrlib.tests.per_repository import TestCaseWithRepository
 
20
from bzrlib.tests.per_repository_vf import (
 
21
    all_repository_vf_format_scenarios,
 
22
    TestCaseWithRepository
 
23
    )
 
24
from bzrlib.tests.scenarios import load_tests_apply_scenarios
 
25
 
 
26
load_tests = load_tests_apply_scenarios
21
27
 
22
28
 
23
29
class TestAddInventoryByDelta(TestCaseWithRepository):
24
30
 
 
31
    scenarios = all_repository_vf_format_scenarios()
 
32
 
25
33
    def _get_repo_in_write_group(self, path='repository'):
26
34
        repo = self.make_repository(path)
27
35
        repo.lock_write()