Skip to content

Commit f8f1a47

Browse files
authored
Merge pull request #1292 from okorach:fix-tests-3
Remove obsolete test
2 parents 1518c03 + f54ec6f commit f8f1a47

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ sonar.python.pylint.reportPaths=build/pylint-report.out
1313
# sonar.python.bandit.reportPaths=build/bandit-report.json
1414

1515
sonar.exclusions=api-doc/**/*, build/**/*, test/**/*
16-
sonar.coverage.exclusions=test/**/*, shellcheck2sonar.py, cli/cust_measures.py, sonar/custom_measures.py, cli/support.py, cli/sonar-projects-*.py
16+
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
1717

1818
sonar.tests=test

test/test_rules.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -168,16 +168,6 @@ def test_get_nonexisting_rule() -> None:
168168
assert e.key == "badlang:S127"
169169

170170

171-
def test_export_nonstandard() -> None:
172-
"""test_export_nonstandard"""
173-
export = rules.export(endpoint=util.SQ, export_settings={"FULL_EXPORT": True}, standard=False)
174-
assert len(export) > 0
175-
assert "standard" not in export
176-
export = rules.export(endpoint=util.SQ, export_settings={"FULL_EXPORT": False}, standard=True)
177-
assert len(export) > 0
178-
assert "standard" in export
179-
180-
181171
def test_export_all() -> None:
182172
"""test_export_all"""
183173
rule_list = rules.export_all(endpoint=util.SQ, full=True)

0 commit comments

Comments
 (0)