Modified test options strict=true and cover=100

This commit is contained in:
Maximilien Rigaut 2022-03-26 14:55:16 +01:00
parent d37c043cd9
commit c07d61ba12
2 changed files with 1 additions and 3 deletions

View File

@ -39,4 +39,4 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest - name: Test with pytest
run: | run: |
pytest . pytest --cov-fail-under=100 -o xfail_strict=true .

View File

@ -233,7 +233,6 @@ def test_do_replacements():
assert f.read() == final_content_index assert f.read() == final_content_index
@pytest.mark.xfail(reason="Not implemented")
def test_get_all_lines(): def test_get_all_lines():
""" """
Test the line reader Test the line reader
@ -318,7 +317,6 @@ def test_get_shortcut_from_config():
assert pp.get_image_from_config("any_picture", None) == '<img src="any_picture"/>' assert pp.get_image_from_config("any_picture", None) == '<img src="any_picture"/>'
@pytest.mark.xfail(reason="Not implemented")
def test_replace(): def test_replace():
replace_file = temp_name("test_preparse.bpr") replace_file = temp_name("test_preparse.bpr")
make_new_file(replace_file, get_from_config) make_new_file(replace_file, get_from_config)