Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SettingsTest.py: Tests to increase branch coverage #326

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .nocover.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ nocover_regexes:
- def autofill_value
- def is_autofill_possible
- def require_setting
# generation/Settings.py::get_extensions
# https://github.com/coala/coala-quickstart/issues/279
- if ext in exts
# generation/SettingsClass.py::fillup_optional_settings
# https://github.com/coala/coala-quickstart/issues/280
- if inside_annot
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ exclude_lines =
def autofill_value
def is_autofill_possible
def require_setting
if ext in exts
jayvdb marked this conversation as resolved.
Show resolved Hide resolved
if inside_annot
if hasattr.*generate_config
def is_glob_exp
Expand Down
2 changes: 1 addition & 1 deletion tests/generation/SettingsTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def test_allow_complete_section_mode_with_ignore_globs(self):

def test_allow_complete_section_mode(self):
project_dir = "/repo"
project_files = ['/repo/hello.html']
project_files = ['/repo/hello.html', '/repo/readme.txt']
ignore_globs = []

used_languages = list(get_used_languages(project_files))
Expand Down