From 07cc48517dee00237d7a5e924e2de6f8a372037f Mon Sep 17 00:00:00 2001 From: holger krekel Date: Sun, 28 Oct 2012 14:54:49 +0100 Subject: [PATCH] fix wrong reference in basic fixture example, thanks for reporting! (closes #212) --- doc/en/fixture.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/fixture.txt b/doc/en/fixture.txt index 73c6617be..0084c755f 100644 --- a/doc/en/fixture.txt +++ b/doc/en/fixture.txt @@ -65,7 +65,7 @@ using it:: assert "merlinux" in msg assert 0 # for demo purposes -Here, the ``test_function`` needs the ``smtp`` fixture value. pytest +Here, the ``test_ehlo`` needs the ``smtp`` fixture value. pytest will discover and call the :py:func:`@pytest.fixture <_pytest.python.fixture>` marked ``smtp`` fixture function. Running the test looks like this::