File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ def _rewrite_server_name(server_name, new_port):
100
100
def live_server (request , app , monkeypatch ):
101
101
"""Run application in a separate process.
102
102
103
- When the ``live_server`` fixture is applyed , the ``url_for`` function
103
+ When the ``live_server`` fixture is applied , the ``url_for`` function
104
104
works as expected::
105
105
106
106
def test_server_is_up_and_running(live_server):
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ def test_app(app, client):
78
78
app = request .getfuncargvalue ('app' )
79
79
80
80
# Get application bound to the live server if ``live_server`` fixture
81
- # is applyed . Live server application has an explicit ``SERVER_NAME``,
81
+ # is applied . Live server application has an explicit ``SERVER_NAME``,
82
82
# so ``url_for`` function generates a complete URL for endpoint which
83
83
# includes application port as well.
84
84
if 'live_server' in request .fixturenames :
@@ -118,11 +118,11 @@ def pytest_addoption(parser):
118
118
group .addoption ('--start-live-server' ,
119
119
action = "store_true" , dest = "start_live_server" , default = True ,
120
120
help = "start server automatically when live_server "
121
- "fixture is applyed (enabled by default)." )
121
+ "fixture is applied (enabled by default)." )
122
122
group .addoption ('--no-start-live-server' ,
123
123
action = "store_false" , dest = "start_live_server" ,
124
124
help = "don't start server automatically when live_server "
125
- "fixture is applyed ." )
125
+ "fixture is applied ." )
126
126
127
127
128
128
def pytest_configure (config ):
You can’t perform that action at this time.
0 commit comments