diff --git a/testing/plugin/test_pytest_nose.py b/testing/plugin/test_pytest_nose.py index 6ce20d861..56867c631 100644 --- a/testing/plugin/test_pytest_nose.py +++ b/testing/plugin/test_pytest_nose.py @@ -1,6 +1,7 @@ import py py.test.importorskip("nose") + def test_nose_setup(testdir): p = testdir.makepyfile(""" l = [] @@ -17,6 +18,7 @@ def test_nose_setup(testdir): "*2 passed*" ]) + def test_nose_setup_func(testdir): p = testdir.makepyfile(""" l = [] @@ -43,6 +45,7 @@ def test_nose_setup_func(testdir): "*2 passed*" ]) + def test_nose_test_generator_fixtures(testdir): p = testdir.makepyfile(""" # taken from nose-0.11.1 unit_tests/test_generator_fixtures.py @@ -111,7 +114,6 @@ def test_nose_test_generator_fixtures(testdir): ]) - def test_module_level_setup(testdir): testdir.makepyfile(""" from nose.tools import with_setup @@ -142,6 +144,7 @@ def test_module_level_setup(testdir): "*2 passed*", ]) + def test_nose_style_setup_teardown(testdir): testdir.makepyfile(""" l = [] @@ -161,4 +164,3 @@ def test_nose_style_setup_teardown(testdir): result.stdout.fnmatch_lines([ "*2 passed*", ]) -