Add the .coveragerc file and some debugging output to see if the coverage file is generated.

This commit is contained in:
Pedro Algarvio 2013-05-29 21:29:34 +01:00
parent 852e38658b
commit 5ec8147fbb
2 changed files with 4 additions and 0 deletions

2
.coveragerc Normal file
View file

@ -0,0 +1,2 @@
[run]
branch = True

View file

@ -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(