/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to breezy/tests/per_repository/test_check.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-24 01:39:33 UTC
  • mfrom: (3815.3776.6)
  • Revision ID: jelmer@jelmer.uk-20170524013933-ir4y4tqtrsiz2ka2
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
"""Test operations that check the repository for corruption"""
19
19
 
20
 
from bzrlib import (
 
20
from breezy import (
21
21
    revision as _mod_revision,
22
22
    )
23
 
from bzrlib.tests.per_repository import TestCaseWithRepository
 
23
from breezy.tests.per_repository import TestCaseWithRepository
24
24
 
25
25
 
26
26
class TestCleanRepository(TestCaseWithRepository):
29
29
        branch = self.make_branch('foo')
30
30
        branch.lock_write()
31
31
        self.addCleanup(branch.unlock)
32
 
        self.overrideEnv('BZR_EMAIL', 'foo@sample.com')
 
32
        self.overrideEnv('BRZ_EMAIL', 'foo@sample.com')
33
33
        builder = branch.get_commit_builder([], branch.get_config_stack())
34
34
        list(builder.record_iter_changes(None, _mod_revision.NULL_REVISION, [
35
35
            ('TREE_ROOT', (None, ''), True, (False, True), (None, None),