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

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 18:06:19 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521180619-5qoo0470asgdnljt
Fix more tests (all?)

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
    'BZREMAIL': None, # may still be present in the environment
149
149
    'EMAIL': 'jrandom@example.com', # set EMAIL as brz does not guess
150
150
    'BRZ_PROGRESS_BAR': None,
151
 
    # This should trap leaks to ~/.bzr.log. This occurs when tests use TestCase
 
151
    # This should trap leaks to ~/.brz.log. This occurs when tests use TestCase
152
152
    # as a base class instead of TestCaseInTempDir. Tests inheriting from
153
153
    # TestCase should not use disk resources, BRZ_LOG is one.
154
154
    'BRZ_LOG': '/you-should-use-TestCaseInTempDir-if-you-need-a-log-file',
180
180
    # -- vila 20080401
181
181
    'ftp_proxy': None,
182
182
    'FTP_PROXY': None,
183
 
    'BRZ_REMOTE_PATH': None,
 
183
    'BZR_REMOTE_PATH': None,
184
184
    # Generally speaking, we don't want apport reporting on crashes in
185
185
    # the test envirnoment unless we're specifically testing apport,
186
186
    # so that it doesn't leak into the real system environment.  We
2233
2233
            cleanup_environment()
2234
2234
            # Include the subprocess's log file in the test details, in case
2235
2235
            # the test fails due to an error in the subprocess.
2236
 
            self._add_subprocess_log(trace._get_bzr_log_filename())
 
2236
            self._add_subprocess_log(trace._get_brz_log_filename())
2237
2237
            command = [sys.executable]
2238
2238
            # frozen executables don't need the path to bzr
2239
2239
            if getattr(sys, "frozen", None) is None:
2644
2644
        """
2645
2645
        root = TestCaseWithMemoryTransport.TEST_ROOT
2646
2646
        try:
2647
 
            # Make sure we get a readable and accessible home for .bzr.log
 
2647
            # Make sure we get a readable and accessible home for .brz.log
2648
2648
            # and/or config files, and not fallback to weird defaults (see
2649
2649
            # http://pad.lv/825027).
2650
2650
            self.assertIs(None, os.environ.get('BRZ_HOME', None))