~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test__chunks_to_lines.py

  • Committer: Martin von Gagern
  • Date: 2011-06-01 12:53:56 UTC
  • mto: This revision was merged to the branch mainline in revision 6009.
  • Revision ID: martin.vgagern@gmx.net-20110601125356-lwozv2vecea6hxfz
Change from no_decorate to classify as name for the argument.

The command line switch remains as --no-classify, to keep backwards
compatibility.  Users are free to include --no-classify in an alias, and
still use --classify to change back.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
"""Tests for chunks_to_lines."""
19
19
 
20
20
from bzrlib import tests
21
 
from bzrlib.tests import (
22
 
    features,
23
 
    )
24
21
 
25
22
 
26
23
def load_tests(standard_tests, module, loader):
32
29
# test_osutils depends on this feature being around. We can't just use the one
33
30
# generated by load_tests, because if we only load osutils but not this module,
34
31
# then that code never gets run
35
 
compiled_chunkstolines_feature = features.ModuleAvailableFeature(
36
 
    'bzrlib._chunks_to_lines_pyx')
 
32
compiled_chunkstolines_feature = tests.ModuleAvailableFeature(
 
33
                                    'bzrlib._chunks_to_lines_pyx')
37
34
 
38
35
 
39
36
class TestChunksToLines(tests.TestCase):