diff options
| author | Tim Graham <timograham@gmail.com> | 2023-04-16 19:14:09 -0400 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-04-17 07:44:29 +0200 |
| commit | 26f181939ebdad3811736aadeb5634bbdcaca025 (patch) | |
| tree | 5f18511a1bb833a58b49660035b8bc800ffe9b89 /docs/topics/testing | |
| parent | 509401313471ac0e9ef2e0c575c02db4436d6158 (diff) | |
[4.2.x] Used extlinks for PyPI links.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Backport of 2c4dc6476083c853b654e462c7ff65dbe0334c9e from main
Diffstat (limited to 'docs/topics/testing')
| -rw-r--r-- | docs/topics/testing/advanced.txt | 3 | ||||
| -rw-r--r-- | docs/topics/testing/tools.txt | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index 65ca20dad8..26de48497b 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -873,7 +873,7 @@ important part of testing applications, so it's strongly recommended to check the coverage of your tests. Django can be easily integrated with `coverage.py`_, a tool for measuring code -coverage of Python programs. First, `install coverage.py`_. Next, run the +coverage of Python programs. First, install :pypi:`coverage`. Next, run the following from your project folder containing ``manage.py``: .. code-block:: shell @@ -894,4 +894,3 @@ For more options like annotated HTML listings detailing missed lines, see the `coverage.py`_ docs. .. _coverage.py: https://coverage.readthedocs.io/ -.. _install coverage.py: https://pypi.org/project/coverage/ diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index efdb54d939..f1bf71809e 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1031,8 +1031,7 @@ port assigned by the operating system. The server's URL can be accessed with ``self.live_server_url`` during the tests. To demonstrate how to use ``LiveServerTestCase``, let's write a Selenium test. -First of all, you need to install the `selenium package`_ into your Python -path: +First of all, you need to install the :pypi:`selenium` package: .. console:: @@ -1090,7 +1089,6 @@ example above is just a tiny fraction of what the Selenium client can do; check out the `full reference`_ for more details. .. _Selenium: https://www.selenium.dev/ -.. _selenium package: https://pypi.org/project/selenium/ .. _full reference: https://selenium-python.readthedocs.io/api.html .. _Firefox: https://www.mozilla.com/firefox/ |
