Skip to content

Commit 7a64ca4

Browse files
committed
Fix typo: 'applyed' -> 'applied'
1 parent a392889 commit 7a64ca4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pytest_flask/fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def _rewrite_server_name(server_name, new_port):
100100
def live_server(request, app, monkeypatch):
101101
"""Run application in a separate process.
102102
103-
When the ``live_server`` fixture is applyed, the ``url_for`` function
103+
When the ``live_server`` fixture is applied, the ``url_for`` function
104104
works as expected::
105105
106106
def test_server_is_up_and_running(live_server):

pytest_flask/plugin.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def test_app(app, client):
7878
app = request.getfuncargvalue('app')
7979

8080
# 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``,
8282
# so ``url_for`` function generates a complete URL for endpoint which
8383
# includes application port as well.
8484
if 'live_server' in request.fixturenames:
@@ -118,11 +118,11 @@ def pytest_addoption(parser):
118118
group.addoption('--start-live-server',
119119
action="store_true", dest="start_live_server", default=True,
120120
help="start server automatically when live_server "
121-
"fixture is applyed (enabled by default).")
121+
"fixture is applied (enabled by default).")
122122
group.addoption('--no-start-live-server',
123123
action="store_false", dest="start_live_server",
124124
help="don't start server automatically when live_server "
125-
"fixture is applyed.")
125+
"fixture is applied.")
126126

127127

128128
def pytest_configure(config):

0 commit comments

Comments
 (0)