Skip to content

Commit 41dccc7

Browse files
authored
fix docs typo (#1197)
2 parents 05ff547 + b7aef16 commit 41dccc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/contexts.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ a context for a specific test.
7878
7979
import pytest
8080
81-
@pytest.mark.fixture
81+
@pytest.fixture
8282
def app_ctx(app):
8383
with app.app_context():
8484
yield
8585
8686
@pytest.mark.usefixtures("app_ctx")
87-
def test_user_model(app):
87+
def test_user_model():
8888
user = User()
8989
db.session.add(user)
9090
db.session.commit()

0 commit comments

Comments
 (0)