Whitespace normalisation between funcs in test_pytest_nose.py

--HG--
branch : trunk
This commit is contained in:
Ed Singleton 2010-09-03 10:07:17 +01:00
parent faf0fe8887
commit c542806396
1 changed files with 4 additions and 2 deletions

View File

@ -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*",
])