diff --git a/sonar-project.properties b/sonar-project.properties index 848273260..2aa70fb90 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -13,6 +13,6 @@ sonar.python.pylint.reportPaths=build/pylint-report.out # sonar.python.bandit.reportPaths=build/bandit-report.json sonar.exclusions=api-doc/**/*, build/**/*, test/**/* -sonar.coverage.exclusions=test/**/*, shellcheck2sonar.py, cli/cust_measures.py, sonar/custom_measures.py, cli/support.py, cli/sonar-projects-*.py +sonar.coverage.exclusions=test/**/*, shellcheck2sonar.py, cli/cust_measures.py, sonar/custom_measures.py, cli/support.py, cli/projects_export.py, , cli/projects_import.py sonar.tests=test diff --git a/test/test_rules.py b/test/test_rules.py index 1e95b57cd..d5f2ba11b 100644 --- a/test/test_rules.py +++ b/test/test_rules.py @@ -168,16 +168,6 @@ def test_get_nonexisting_rule() -> None: assert e.key == "badlang:S127" -def test_export_nonstandard() -> None: - """test_export_nonstandard""" - export = rules.export(endpoint=util.SQ, export_settings={"FULL_EXPORT": True}, standard=False) - assert len(export) > 0 - assert "standard" not in export - export = rules.export(endpoint=util.SQ, export_settings={"FULL_EXPORT": False}, standard=True) - assert len(export) > 0 - assert "standard" in export - - def test_export_all() -> None: """test_export_all""" rule_list = rules.export_all(endpoint=util.SQ, full=True)