From 55cf19a0a29042cabbaf53644ee13d037ce88afb Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 9 Nov 2012 21:34:42 -0500 Subject: Now the title of the HTML report can be set. --- coverage/config.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'coverage/config.py') diff --git a/coverage/config.py b/coverage/config.py index 0d1da5f4..7b77e467 100644 --- a/coverage/config.py +++ b/coverage/config.py @@ -54,6 +54,7 @@ class CoverageConfig(object): # Defaults for [html] self.html_dir = "htmlcov" self.extra_css = None + self.html_title = "Coverage report" # Defaults for [xml] self.xml_output = "coverage.xml" @@ -133,6 +134,8 @@ class CoverageConfig(object): self.html_dir = cp.get('html', 'directory') if cp.has_option('html', 'extra_css'): self.extra_css = cp.get('html', 'extra_css') + if cp.has_option('html', 'title'): + self.html_title = cp.get('html', 'title') # [xml] if cp.has_option('xml', 'output'): -- cgit v1.2.1