--HG--
branch : parametrized-fixture-override
This commit is contained in:
Anatoly Bubenkov 2015-03-02 20:18:06 +01:00
parent d1005ebb8f
commit d083153548
1 changed files with 6 additions and 6 deletions

View File

@ -393,9 +393,9 @@ class TestFunction:
return 'value' return 'value'
@pytest.mark.parametrize('value', @pytest.mark.parametrize('value',
['overrided']) ['overridden'])
def test_overrided_via_param(value): def test_overridden_via_param(value):
assert value == 'overrided' assert value == 'overridden'
""") """)
rec = testdir.inline_run() rec = testdir.inline_run()
rec.assertoutcome(passed=1) rec.assertoutcome(passed=1)
@ -411,9 +411,9 @@ class TestFunction:
return request.param return request.param
@pytest.mark.parametrize('value', @pytest.mark.parametrize('value',
['overrided']) ['overridden'])
def test_overrided_via_param(value): def test_overridden_via_param(value):
assert value == 'overrided' assert value == 'overridden'
""") """)
rec = testdir.inline_run() rec = testdir.inline_run()
rec.assertoutcome(passed=1) rec.assertoutcome(passed=1)