File tree Expand file tree Collapse file tree 5 files changed +17
-17
lines changed Expand file tree Collapse file tree 5 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ Setting up your development environment
37
37
38
38
.. code-block :: text
39
39
40
- git remote add fork https://github.com/{username}/pytest-flask
40
+ $ git remote add fork https://github.com/{username}/pytest-flask
41
41
42
42
- Using `Tox `_, create a virtual environment and install pytest-flask in editable mode with development dependencies.
43
43
@@ -53,7 +53,7 @@ Setting up your development environment
53
53
$ pre-commit install
54
54
55
55
.. _Fork : https://github.com/pytest-dev/pytest-flask/fork
56
- .. _Clone : https://help .github.com/en/articles /fork-a-repo#step-2-create-a-local-clone-of-your-fork
56
+ .. _Clone : https://docs .github.com/en/get-started/quickstart /fork-a-repo#step-2-create-a-local-clone-of-your-fork
57
57
.. _Tox : https://tox.readthedocs.io/en/latest/
58
58
59
59
Start Coding
@@ -76,7 +76,7 @@ Start Coding
76
76
77
77
$ git push --set-upstream fork your-branch-name
78
78
79
- .. _create a pull request : https://help .github.com/en/articles /creating-a-pull-request
79
+ .. _create a pull request : https://docs .github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests /creating-a-pull-request
80
80
81
81
How to run tests
82
82
~~~~~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Setting up your development environment
39
39
40
40
.. code-block :: text
41
41
42
- git remote add fork https://github.com/{username}/pytest-flask
42
+ $ git remote add fork https://github.com/{username}/pytest-flask
43
43
44
44
- Using `Tox `_, create a virtual environment and install pytest-flask in editable mode with development dependencies.
45
45
@@ -55,7 +55,7 @@ Setting up your development environment
55
55
$ pre-commit install
56
56
57
57
.. _Fork : https://github.com/pytest-dev/pytest-flask/fork
58
- .. _Clone : https://help .github.com/en/articles /fork-a-repo#step-2-create-a-local-clone-of-your-fork
58
+ .. _Clone : https://docs .github.com/en/get-started/quickstart /fork-a-repo#step-2-create-a-local-clone-of-your-fork
59
59
.. _Tox : https://tox.readthedocs.io/en/latest/
60
60
61
61
Start Coding
@@ -78,7 +78,7 @@ Start Coding
78
78
79
79
$ git push --set-upstream fork your-branch-name
80
80
81
- .. _create a pull request : https://help .github.com/en/articles /creating-a-pull-request
81
+ .. _create a pull request : https://docs .github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests /creating-a-pull-request
82
82
83
83
How to run tests
84
84
~~~~~~~~~~~~~~~~
@@ -110,4 +110,4 @@ test suite run ``pytest`` using ``coverage``.
110
110
111
111
Open ``htmlcov/index.html `` in your browser.
112
112
113
- More about converage `here <https://coverage.readthedocs.io >`__.
113
+ More about coverage `here <https://coverage.readthedocs.io >`__.
Original file line number Diff line number Diff line change @@ -378,13 +378,13 @@ on `what markers are`_ and for notes on `using them`_.
378
378
assert not app.debug, ' Ensure the app is not in debug mode'
379
379
380
380
381
- .. _pytest-xdist : https://pypi.python. org/pypi /pytest-xdist
381
+ .. _pytest-xdist : https://pypi.org/project /pytest-xdist/
382
382
.. _pytest documentation : https://pytest.org/en/latest/fixture.html
383
- .. _flask.Flask.test_client : https://flask.palletsprojects.com/en/1.1.x/ api/#flask.Flask.test_client
384
- .. _flask.Config : https://flask.palletsprojects.com/en/1.1.x/ api/#flask.Config
383
+ .. _flask.Flask.test_client : https://flask.palletsprojects.com/api/#flask.Flask.test_client
384
+ .. _flask.Config : https://flask.palletsprojects.com/api/#flask.Config
385
385
.. _Selenium : https://selenium-python.readthedocs.io/
386
386
.. _what markers are : https://pytest.org/en/latest/mark.html
387
387
.. _using them : https://pytest.org/en/latest/example/markers.html#marking-whole-classes-or-modules
388
- .. _Flask API : https://flask.palletsprojects.com/en/1.1.x/ api/#flask.Flask.test_client
389
- .. _Werkzeug test client : https://werkzeug.palletsprojects.com/en/1.0.x/ test/#werkzeug.test.Client
390
- .. _blueprint : https://flask.palletsprojects.com/en/1.1.x/ blueprints/
388
+ .. _Flask API : https://flask.palletsprojects.com/api/
389
+ .. _Werkzeug test client : https://werkzeug.palletsprojects.com/test/#werkzeug.test.Client
390
+ .. _blueprint : https://flask.palletsprojects.com/blueprints/
Original file line number Diff line number Diff line change 1
1
Welcome to pytest-flask’s documentation!
2
2
========================================
3
3
4
- Pytest-flask is a plugin for `pytest <http ://pytest.org >`_ that provides
5
- a set of useful tools to test `Flask <http ://flask.pocoo.org >`_ applications
4
+ Pytest-flask is a plugin for `pytest <https ://pytest.org/en/latest/ >`_ that provides
5
+ a set of useful tools to test `Flask <https ://flask.palletsprojects.com/ >`_ applications
6
6
and extensions.
7
7
8
8
Original file line number Diff line number Diff line change @@ -49,12 +49,12 @@ What’s next?
49
49
The :ref: `features ` section gives a more detailed view of available features, as
50
50
well as test fixtures and markers.
51
51
52
- Consult the `pytest documentation <http ://pytest.org/latest >`_ for more
52
+ Consult the `pytest documentation <https ://pytest.org/en /latest >`_ for more
53
53
information about pytest itself.
54
54
55
55
If you want to contribute to the project, see the :ref: `contributing ` section.
56
56
57
57
58
- .. _PyPi : https://pypi.python. org/pypi /pytest-flask
58
+ .. _PyPi : https://pypi.org/project /pytest-flask/
59
59
.. _discovers your tests : http://docs.pytest.org/en/latest/goodpractices.html#test-discovery
60
60
.. _official documentation : http://pytest.org/latest/usage.html
You can’t perform that action at this time.
0 commit comments