Commit c83bb10e authored by Jérome Perrin's avatar Jérome Perrin

testing: don't reset PYTHONPATH

we no longer use python setup.py test
parent 9e5ba82d
...@@ -219,8 +219,7 @@ class CrontabMixin(object): ...@@ -219,8 +219,7 @@ class CrontabMixin(object):
""" """
crontab_command = self._getCrontabCommand(crontab_name) crontab_command = self._getCrontabCommand(crontab_name)
crontab_output = subprocess.check_output( crontab_output = subprocess.check_output(
# XXX we unset PYTHONPATH set by `setup.py test` "faketime {date} bash -o pipefail -e -c '{crontab_command}'".format(**locals()),
"env PYTHONPATH= faketime {date} bash -o pipefail -e -c '{crontab_command}'".format(**locals()),
shell=True, shell=True,
) )
self.logger.debug("crontab %s output: %s", crontab_command, crontab_output) self.logger.debug("crontab %s output: %s", crontab_command, crontab_output)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment