diff options
| author | reybog90 <reybog90@o2.pl> | 2019-10-30 20:04:20 +0100 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-11-01 06:36:13 -0400 |
| commit | 9b11268c358040abf7384702c3bc0e863ab753c5 (patch) | |
| tree | e657af6f7eb583354f41c455bee639aaaf9a39fa /tests/test_config.py | |
| parent | 49e06d33ea63d8e3e44ab5b69d713783551dfaa9 (diff) | |
| download | python-coveragepy-git-9b11268c358040abf7384702c3bc0e863ab753c5.tar.gz | |
Optionally skip empty files in reports
Diffstat (limited to 'tests/test_config.py')
| -rw-r--r-- | tests/test_config.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index ebea18a7..fcbac816 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -311,6 +311,7 @@ class ConfigFileTest(UsingModulesMixin, CoverageTest): show_missing= TruE skip_covered = TruE + skip_empty =TruE [{section}html] @@ -386,6 +387,7 @@ class ConfigFileTest(UsingModulesMixin, CoverageTest): self.assertEqual(cov.config.plugins, ["plugins.a_plugin", "plugins.another"]) self.assertTrue(cov.config.show_missing) self.assertTrue(cov.config.skip_covered) + self.assertTrue(cov.config.skip_empty) self.assertEqual(cov.config.html_dir, r"c:\tricky\dir.somewhere") self.assertEqual(cov.config.extra_css, "something/extra.css") self.assertEqual(cov.config.html_title, "Title & nums # nums!") |
