/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 bzrlib/tests/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-09-17 10:33:29 UTC
  • mfrom: (4697.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090917103329-khwup105uhik6zje
(vila) Fix test failures with no C extensions loaded

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
from bzrlib import (
54
54
    branchbuilder,
55
55
    bzrdir,
 
56
    config,
56
57
    debug,
57
58
    errors,
58
59
    hooks,
2561
2562
        super(TestCaseWithTransport, self).setUp()
2562
2563
        self.__vfs_server = None
2563
2564
 
 
2565
    def disable_missing_extensions_warning(self):
 
2566
        """Some tests expect a precise stderr content.
 
2567
 
 
2568
        There is no point in forcing them to duplicate the extension related
 
2569
        warning.
 
2570
        """
 
2571
        config.GlobalConfig().set_user_option('ignore_missing_extensions', True)
 
2572
 
2564
2573
 
2565
2574
class ChrootedTestCase(TestCaseWithTransport):
2566
2575
    """A support class that provides readonly urls outside the local namespace.