summaryrefslogtreecommitdiff
path: root/doc/rtd/topics/testing.rst
diff options
context:
space:
mode:
authorChad Smith <chad.smith@canonical.com>2021-06-17 20:46:54 -0600
committerGitHub <noreply@github.com>2021-06-17 20:46:54 -0600
commitdb23b1b10b97fe19bc1c8af99a08aa5693d37923 (patch)
tree83a58dd3c7c6b1453742881722a07745f43eb587 /doc/rtd/topics/testing.rst
parentabd2da5777195e7e432b0d53a3f7f29d071dd50e (diff)
downloadvyos-cloud-init-db23b1b10b97fe19bc1c8af99a08aa5693d37923.tar.gz
vyos-cloud-init-db23b1b10b97fe19bc1c8af99a08aa5693d37923.zip
docs: fix stale links rename master branch to main (#926)
Update doc references to 'main' default branch due to rename. Also some links have eroded: - for doc links directly to a line num link to a blob/<commit>/file/path#L10 instead of blob/<branch_name>. - pytest.param link to a specific version doc as latest has dropped the link
Diffstat (limited to 'doc/rtd/topics/testing.rst')
-rw-r--r--doc/rtd/topics/testing.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/rtd/topics/testing.rst b/doc/rtd/topics/testing.rst
index 5b702bd2..d882e036 100644
--- a/doc/rtd/topics/testing.rst
+++ b/doc/rtd/topics/testing.rst
@@ -166,8 +166,8 @@ Test Argument Ordering
.. _pytest: https://docs.pytest.org/
.. _pytest fixtures: https://docs.pytest.org/en/latest/fixture.html
.. _TestGetPackageMirrorInfo: https://github.com/canonical/cloud-init/blob/42f69f410ab8850c02b1f53dd67c132aa8ef64f5/cloudinit/distros/tests/test_init.py\#L15
-.. _TestPrependBaseCommands: https://github.com/canonical/cloud-init/blob/master/cloudinit/tests/test_subp.py#L9
+.. _TestPrependBaseCommands: https://github.com/canonical/cloud-init/blob/fbcb224bc12495ba200ab107246349d802c5d8e6/cloudinit/tests/test_subp.py#L20
.. _assertion introspection: https://docs.pytest.org/en/latest/assert.html
.. _pytest 3.0: https://docs.pytest.org/en/latest/changelog.html#id1093
-.. _pytest.param: https://docs.pytest.org/en/latest/reference.html#pytest-param
+.. _pytest.param: https://docs.pytest.org/en/6.2.x/reference.html#pytest-param
.. _autospecced: https://docs.python.org/3.8/library/unittest.mock.html#autospeccing