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 06:55:32 +0200 |
| commit | 2c4dc6476083c853b654e462c7ff65dbe0334c9e (patch) | |
| tree | adb5cb4206a769452af5172cb5f8633f6eca17d7 /docs/topics/testing | |
| parent | 255f5345904854128647705adcb8d21138e87c63 (diff) | |
Used extlinks for PyPI links.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
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 1ecc965f1e..14a45931ba 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -857,7 +857,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 @@ -878,4 +878,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 c4e3c4e5af..b9a48360b2 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/ |
