We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da40bcf commit f94189bCopy full SHA for f94189b
1 file changed
doc/en/fixture.rst
@@ -1002,7 +1002,7 @@ Given the tests file structure is:
1002
1003
@pytest.mark.parametrize('username', ['directly-overridden-username-other'])
1004
def test_username_other(other_username):
1005
- assert username == 'other-directly-overridden-username-other'
+ assert other_username == 'other-directly-overridden-username-other'
1006
1007
In the example above, a fixture value is overridden by the test parameter value. Note that the value of the fixture
1008
can be overridden this way even if the test doesn't use it directly (doesn't mention it in the function prototype).
0 commit comments