~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Mark Hammond
  • Date: 2008-08-23 03:58:23 UTC
  • mto: This revision was merged to the branch mainline in revision 3728.
  • Revision ID: mhammond@skippinet.com.au-20080823035823-1anntol029n0il6r
Add win32utils.get_local_appdata_location() so bzr and plugins can 
differentiate between the 'local' and 'roaming' locations offered by
windows.  Includes support for falling back to pywin32 if ctypes isn't
available and introduces new tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1208
1208
        new_env = {
1209
1209
            'BZR_HOME': None, # Don't inherit BZR_HOME to all the tests.
1210
1210
            'HOME': os.getcwd(),
1211
 
            'APPDATA': None,  # bzr now use Win32 API and don't rely on APPDATA
 
1211
            # bzr now use Win32 API and don't rely on APPDATA, but the
 
1212
            # tests do check our impls match APPDATA
1212
1213
            'BZR_EDITOR': None, # test_msgeditor manipulates this variable
1213
1214
            'BZR_EMAIL': None,
1214
1215
            'BZREMAIL': None, # may still be present in the environment