Fix coverate on py3 windows builds

Setting a value for will cause coverage to look for a config file called
named '1' and in-turn raises an Exception. Based on the docs, if the
environment variable exists coverage is enabled. Just defined the
environment variable instead of giving it a value.
This commit is contained in:
Daniel A. Wozniak 2018-04-20 12:30:43 -07:00
parent cebcd6d069
commit ad9c7f63f0
No known key found for this signature in database
GPG key ID: 166B9D2C06C82D61

View file

@ -175,7 +175,7 @@ class SaltCoverageTestingParser(SaltTestingParser):
# Update environ so that any subprocess started on tests are also
# included in the report
coverage_options['data_suffix'] = True
os.environ['COVERAGE_PROCESS_START'] = '1'
os.environ['COVERAGE_PROCESS_START'] = ''
os.environ['COVERAGE_OPTIONS'] = json.dumps(coverage_options)
# Setup coverage