Skip to content

Commit fbf735b

Browse files
committed
Update any referencies in documentation
1 parent fe841a9 commit fbf735b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/features.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,10 @@ Markers
210210
on `what markers are`_ and for notes on `using them`_.
211211

212212

213-
``pytest.mark.app`` - pass options to your application config
213+
``pytest.mark.options`` - pass options to your application config
214214
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
215215

216-
.. py:function:: pytest.mark.app(**kwargs)
216+
.. py:function:: pytest.mark.options(**kwargs)
217217
218218
The mark uses to pass options to your application config.
219219

@@ -225,7 +225,7 @@ on `what markers are`_ and for notes on `using them`_.
225225

226226
.. code:: python
227227
228-
@pytest.mark.app(debug=False)
228+
@pytest.mark.options(debug=False)
229229
def test_app(app):
230230
assert not app.debug, 'Ensure the app not in debug mode'
231231

pytest_flask/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ def teardown():
9595

9696
@pytest.fixture(autouse=True)
9797
def _configure_application(request, monkeypatch):
98-
"""Use `pytest.mark.app` decorator to pass options to your application
98+
"""Use `pytest.mark.options` decorator to pass options to your application
9999
factory::
100100
101-
@pytest.mark.app(debug=False)
101+
@pytest.mark.options(debug=False)
102102
def test_something(app):
103103
assert not app.debug, 'the application works not in debug mode!'
104104

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
- ``accept_json``, ``accept_jsonp``, ``accept_any`` - accept headers
2222
suitable to use as parameters in ``client``.
2323
24-
To pass options to your application use the ``pytest.mark.app`` marker:
24+
To pass options to your application use the ``pytest.mark.options`` marker:
2525
2626
.. code:: python
2727
28-
@pytest.mark.app(debug=False)
28+
@pytest.mark.options(debug=False)
2929
def test_app(app):
3030
assert not app.debug, 'Ensure the app not in debug mode'
3131

0 commit comments

Comments
 (0)