Skip to content

Commit 8069ef5

Browse files
azaleablueyed
authored andcommitted
doc: link to https / final location directly (#487)
1 parent c22b823 commit 8069ef5

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Welcome to pytest-django!
99
=========================
1010

1111
pytest-django allows you to test your Django project/applications with the
12-
`pytest testing tool <http://pytest.org/>`_.
12+
`pytest testing tool <https://pytest.org/>`_.
1313

1414
* `Quick start / tutorial
1515
<https://pytest-django.readthedocs.io/en/latest/tutorial.html>`_
@@ -43,11 +43,11 @@ Why would I use this instead of Django's `manage.py test` command?
4343
Running your test suite with pytest-django allows you to tap into the features
4444
that are already present in pytest. Here are some advantages:
4545

46-
* `Manage test dependencies with pytest fixtures. <http://pytest.org/latest/fixture.html>`_
46+
* `Manage test dependencies with pytest fixtures. <https://pytest.org/en/latest/fixture.html>`_
4747
* Less boilerplate tests: no need to import unittest, create a subclass with methods. Write tests as regular functions.
4848
* Database re-use: no need to re-create the test database for every test run.
4949
* Run tests in multiple processes for increased speed (with the pytest-xdist plugin).
50-
* Make use of other `pytest plugins <http://pytest.org/latest/plugins.html>`_.
50+
* Make use of other `pytest plugins <https://pytest.org/en/latest/plugins.html>`_.
5151
* Works with both worlds: Existing unittest-style TestCase's still work without any modifications.
5252

53-
See the `pytest documentation <http://pytest.org/latest/>`_ for more information on pytest itself.
53+
See the `pytest documentation <https://pytest.org/en/latest/>`_ for more information on pytest itself.

docs/database.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ what code uses the database and catches any mistakes.
1212
Enabling database access in tests
1313
---------------------------------
1414

15-
You can use `pytest marks <http://pytest.org/latest/mark.html>`_ to
15+
You can use `pytest marks <https://pytest.org/en/latest/mark.html>`_ to
1616
tell ``pytest-django`` your test needs database access::
1717

1818
import pytest
@@ -26,7 +26,7 @@ It is also possible to mark all tests in a class or module at once.
2626
This demonstrates all the ways of marking, even though they overlap.
2727
Just one of these marks would have been sufficient. See the `pytest
2828
documentation
29-
<http://pytest.org/latest/example/markers.html#marking-whole-classes-or-modules>`_
29+
<https://pytest.org/en/latest/example/markers.html#marking-whole-classes-or-modules>`_
3030
for detail::
3131

3232
import pytest

docs/faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ for more information.
1616
How can I make sure that all my tests run with a specific locale?
1717
-----------------------------------------------------------------
1818

19-
Create a `pytest fixture <http://pytest.org/latest/fixture.html>`_ that is
19+
Create a `pytest fixture <https://pytest.org/en/latest/fixture.html>`_ that is
2020
automatically run before each test case. To run all tests with the english
2121
locale, put the following code in your project's `conftest.py`_ file:
2222

docs/helpers.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Markers
99
``pytest-django`` registers and uses markers. See the pytest documentation_
1010
on what marks are and for notes on using_ them.
1111

12-
.. _documentation: http://pytest.org/latest/mark.html
13-
.. _using: http://pytest.org/latest/example/markers.html#marking-whole-classes-or-modules
12+
.. _documentation: https://pytest.org/en/latest/mark.html
13+
.. _using: https://pytest.org/en/latest/example/markers.html#marking-whole-classes-or-modules
1414

1515

1616
``pytest.mark.django_db(transaction=False)`` - request database access
@@ -99,7 +99,7 @@ Fixtures
9999

100100
pytest-django provides some pytest fixtures to provide dependencies for tests.
101101
More information on fixtures is available in the `pytest documentation
102-
<http://pytest.org/latest/fixture.html>`_.
102+
<https://pytest.org/en/latest/fixture.html>`_.
103103

104104

105105
``rf`` - ``RequestFactory``

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pytest-django Documentation
55
pytest-django is a plugin for `pytest`_ that provides a set of useful tools
66
for testing `Django`_ applications and projects.
77

8-
.. _pytest: http://pytest.org/
8+
.. _pytest: https://pytest.org/
99
.. _Django: https://www.djangoproject.com/
1010

1111
Quick Start

docs/tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Talks, articles and blog posts
2121
John Costa
2222
<http://www.johnmcostaiii.net/2013/django-projects-to-django-apps-converting-the-unit-tests/>`_.
2323

24-
For general information and tutorials on pytest, see the `pytest tutorial page <http://pytest.org/latest/getting-started.html>`_.
24+
For general information and tutorials on pytest, see the `pytest tutorial page <https://pytest.org/en/latest/getting-started.html>`_.
2525

2626

2727
Step 1: Installation
@@ -88,7 +88,7 @@ The :ref:`usage` section describes more ways to interact with your test suites.
8888
pytest-django also provides some :ref:`helpers` to make it easier to write
8989
Django tests.
9090

91-
Consult the `pytest documentation <http://pytest.org/>`_ for more information
91+
Consult the `pytest documentation <https://pytest.org/>`_ for more information
9292
on pytest itself.
9393

9494
Stuck? Need help?

docs/usage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ the command line::
2020
pytest test_something.py a_directory
2121

2222
See the `pytest documentation on Usage and invocations
23-
<http://pytest.org/latest/usage.html>`_ for more help on available parameters.
23+
<https://pytest.org/en/latest/usage.html>`_ for more help on available parameters.
2424

2525
Additional command line options
2626
-------------------------------
@@ -51,6 +51,6 @@ is set to "foo", the test database with xdist will be "test_foo_gw0",
5151
"test_foo_gw1" etc.
5252

5353
See the full documentation on `pytest-xdist
54-
<http://pytest.org/latest/xdist.html>`_ for more information. Among other
54+
<https://pytest.org/en/latest/xdist.html>`_ for more information. Among other
5555
features, pytest-xdist can distribute/coordinate test execution on remote
5656
machines.

0 commit comments

Comments
 (0)