Skip to content

Commit ba8b83f

Browse files
authored
Use session-scoped app fixture in example
As #117 shows, it is indeed confusing now that the default `live_server` is session-scoped.
1 parent d701554 commit ba8b83f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/features.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Extension provides some sugar for your tests, such as:
4242
'''What is the meaning of life, the universe and everything?'''
4343
return 42
4444
45-
@pytest.fixture
45+
@pytest.fixture(scope="session")
4646
def app():
4747
app = create_app()
4848
app.response_class = MyResponse

0 commit comments

Comments
 (0)