diff options
Diffstat (limited to 'coverage/html.py')
-rw-r--r-- | coverage/html.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/coverage/html.py b/coverage/html.py index 61712f3..16ec16b 100644 --- a/coverage/html.py +++ b/coverage/html.py @@ -31,7 +31,7 @@ class HtmlReporter(Reporter): self.files = [] self.arcs = coverage.data.has_arcs() - def report(self, morfs, directory, omit_prefixes=None, require_prefixes=None): + def report(self, morfs, directory, omit_prefixes=None, include_prefixes=None): """Generate an HTML report for `morfs`. `morfs` is a list of modules or filenames. `directory` is where to put @@ -40,14 +40,14 @@ class HtmlReporter(Reporter): `omit_prefixes` is a list of prefixes. CodeUnits that match those prefixes will be omitted from the list. - `require_prefixes` is a list of prefixes. Only CodeUnits that match those prefixes + `include_prefixes` is a list of prefixes. Only CodeUnits that match those prefixes will be included in the list. - You are required to pass at most one of `omit_prefixes` and `require_prefixes`. + You are required to pass at most one of `omit_prefixes` and `include_prefixes`. """ assert directory, "must provide a directory for html reporting" # Process all the files. - self.report_files(self.html_file, morfs, directory, omit_prefixes, require_prefixes) + self.report_files(self.html_file, morfs, directory, omit_prefixes, include_prefixes) # Write the index file. self.index_file() |