#469 Set FRESHMAKER_TESTING_ENV in testing env
Merged by qwan. Opened by qwan.
qwan/freshmaker testing-env  into  master

Download 469.patch

If run tests with 'python -m pytest', sys.argv[0] is:

'${python_sitepackages_dir}/pytest/__main__.py'

this breaks the check of testing environment (in 'init_config'),
so we introduce a new env var "FRESHMAKER_TESTING_ENV" and set it
in tox testenv.

+1 looks good

Pull-Request has been merged by qwan

Metadata