testing structure for static analysis.

This commit is contained in:
Dave Halter
2014-05-11 12:09:42 +02:00
parent c59a8dce28
commit 40a54961cd
2 changed files with 46 additions and 0 deletions

View File

@@ -28,6 +28,12 @@ def test_integration(case, monkeypatch, pytestconfig):
case.run(assert_case_equal)
def test_static_analysis(static_analysis_case, monkeypatch, pytestconfig):
if static_analysis_case.skip is not None:
pytest.skip(static_analysis_case.skip)
static_analysis_case.run(assert_case_equal)
def test_refactor(refactor_case):
"""
Run refactoring test case.