improved static analysis test base

This commit is contained in:
Dave Halter
2014-05-11 13:30:29 +02:00
parent 40a54961cd
commit c92113a7b1
3 changed files with 13 additions and 13 deletions

View File

@@ -20,7 +20,7 @@ desired = %s
""" % (case, actual, desired)
def test_integration(case, monkeypatch, pytestconfig):
def test_integration(case, monkeypatch):
if case.skip is not None:
pytest.skip(case.skip)
repo_root = helpers.root_dir
@@ -28,9 +28,7 @@ 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)
def test_static_analysis(static_analysis_case):
static_analysis_case.run(assert_case_equal)