summaryrefslogtreecommitdiff
path: root/tests/test_config.py
diff options
context:
space:
mode:
authorFelix Horvat <felix.horvat@ocell.io>2022-11-17 12:34:22 +0100
committerGitHub <noreply@github.com>2022-11-17 03:34:22 -0800
commit26445508a2eb1c7ef459a33ec058eb3f3c5b41dd (patch)
treede2e539150ae838b813a889583e510642989c7b4 /tests/test_config.py
parente76b5c7e0117f885f89190de9e07c1d2410ba58b (diff)
downloadpython-coveragepy-git-26445508a2eb1c7ef459a33ec058eb3f3c5b41dd.tar.gz
feat: added support for finding unexecuted namespace packages (#1387)
* add support for namespace packages * fixed typo * update documentation * fixed lint issues * changed versionadded * convert to config setting * removed pure formatting changes * code review changes Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Diffstat (limited to 'tests/test_config.py')
-rw-r--r--tests/test_config.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_config.py b/tests/test_config.py
index 444719fd..5f8a0547 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -494,6 +494,8 @@ class ConfigFileTest(UsingModulesMixin, CoverageTest):
skip_covered = TruE
skip_empty =TruE
+ include_namespace_packages = TRUE
+
[{section}html]
directory = c:\\tricky\\dir.somewhere
@@ -589,6 +591,7 @@ class ConfigFileTest(UsingModulesMixin, CoverageTest):
assert cov.config.get_plugin_options("plugins.another") == {}
assert cov.config.json_show_contexts is True
assert cov.config.json_pretty_print is True
+ assert cov.config.include_namespace_packages is True
def test_config_file_settings(self):
self.make_file(".coveragerc", self.LOTSA_SETTINGS.format(section=""))