/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 breezy/tests/test__static_tuple.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 18:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521181028-zn04pdfw0od9hfj3
Rename brzlib => breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import cPickle
20
20
import sys
21
21
 
22
 
from brzlib import (
 
22
from breezy import (
23
23
    _static_tuple_py,
24
24
    debug,
25
25
    osutils,
26
26
    static_tuple,
27
27
    tests,
28
28
    )
29
 
from brzlib.tests import (
 
29
from breezy.tests import (
30
30
    features,
31
31
    )
32
32
 
35
35
    """Parameterize tests for all versions of groupcompress."""
36
36
    global compiled_static_tuple_feature
37
37
    suite, compiled_static_tuple_feature = tests.permute_tests_for_extension(
38
 
        standard_tests, loader, 'brzlib._static_tuple_py',
39
 
        'brzlib._static_tuple_c')
 
38
        standard_tests, loader, 'breezy._static_tuple_py',
 
39
        'breezy._static_tuple_c')
40
40
    return suite
41
41
 
42
42
 
600
600
 
601
601
    def test_static_tuple_thunk(self):
602
602
        # Make sure the right implementation is available from
603
 
        # brzlib.static_tuple.StaticTuple.
 
603
        # breezy.static_tuple.StaticTuple.
604
604
        if self.module is _static_tuple_py:
605
605
            if compiled_static_tuple_feature.available():
606
606
                # We will be using the C version