mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add the .coveragerc
file and some debugging output to see if the coverage file is generated.
This commit is contained in:
parent
852e38658b
commit
5ec8147fbb
2 changed files with 4 additions and 0 deletions
2
.coveragerc
Normal file
2
.coveragerc
Normal file
|
@ -0,0 +1,2 @@
|
|||
[run]
|
||||
branch = True
|
|
@ -458,6 +458,8 @@ if __name__ == '__main__':
|
|||
print('Stopping and saving coverage info')
|
||||
code_coverage.stop()
|
||||
code_coverage.save()
|
||||
print('Current Directory: {0}'.format(os.getcwd()))
|
||||
print('Coverage data file exists? {0}'.format(os.path.isfile('.coverage'))
|
||||
|
||||
report_dir = os.path.join(os.path.dirname(__file__), 'coverage-report')
|
||||
print(
|
||||
|
|
Loading…
Add table
Reference in a new issue