/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/test__chunks_to_lines.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
"""Tests for chunks_to_lines."""
19
19
 
20
 
from bzrlib import tests
21
 
from bzrlib.tests import (
 
20
from .. import tests
 
21
from . import (
22
22
    features,
23
23
    )
24
24
 
25
25
 
26
 
def load_tests(standard_tests, module, loader):
 
26
def load_tests(loader, standard_tests, pattern):
27
27
    suite, _ = tests.permute_tests_for_extension(
28
 
        standard_tests, loader, 'bzrlib._chunks_to_lines_py',
29
 
        'bzrlib._chunks_to_lines_pyx')
 
28
        standard_tests, loader, 'breezy._chunks_to_lines_py',
 
29
        'breezy._chunks_to_lines_pyx')
30
30
    return suite
31
31
 
32
32
# test_osutils depends on this feature being around. We can't just use the one
33
33
# generated by load_tests, because if we only load osutils but not this module,
34
34
# then that code never gets run
35
35
compiled_chunkstolines_feature = features.ModuleAvailableFeature(
36
 
    'bzrlib._chunks_to_lines_pyx')
 
36
    'breezy._chunks_to_lines_pyx')
37
37
 
38
38
 
39
39
class TestChunksToLines(tests.TestCase):