Browse Source

Test : environment variables

pull/143/head
Louis 10 years ago
parent
commit
330e2c1712
  1. 1
      patacrep/__init__.py
  2. 2
      tox.ini

1
patacrep/__init__.py

@ -34,6 +34,7 @@ LOGGER.error(("DIR RESOURCE_FILENAME:", subprocess.check_output(
universal_newlines=True universal_newlines=True
))) )))
LOGGER.error(("EXPAND VAR", [(var, os.path.expandvars(var)) for var in ['APPDATA', '$APPDATA', '%APPDATA%', '<APPDATA>', '$HOME']])) LOGGER.error(("EXPAND VAR", [(var, os.path.expandvars(var)) for var in ['APPDATA', '$APPDATA', '%APPDATA%', '<APPDATA>', '$HOME']]))
LOGGER.error(str(os.environ))
try: try:
LOGGER.error(("DIR APPDATA:", subprocess.check_output( LOGGER.error(("DIR APPDATA:", subprocess.check_output(
['dir', os.path.expandvars('%APPDATA%')], ['dir', os.path.expandvars('%APPDATA%')],

2
tox.ini

@ -7,7 +7,7 @@ envlist = py34, lint
[testenv] [testenv]
commands = {envpython} setup.py test commands = {envpython} setup.py test
passenv = TRAVIS APPVEYOR passenv = TRAVIS APPVEYOR APPDATA PYTHON PATH
deps = deps =
[testenv:lint] [testenv:lint]

Loading…
Cancel
Save