mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
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:
parent
cebcd6d069
commit
ad9c7f63f0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue