We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fc74eb3 + f94189b commit a27c824Copy full SHA for a27c824
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