File tree Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Code style
35
35
36
36
Your code must pass without errors under `flake8
37
37
<https://flake8.readthedocs.io> `_ with the extension `hacking
38
- <http ://docs.openstack.org/developer/ hacking/> `_::
38
+ <https ://docs.openstack.org/hacking/latest /> `_::
39
39
40
40
41
41
pip install hacking
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ And run it::
65
65
====================== test session starts ======================
66
66
platform linux -- Python 2.7.3 -- py-1.4.26 -- pytest-2.6.4
67
67
plugins: testinfra
68
- collected 3 items
68
+ collected 3 items
69
69
70
70
test_myinfra.py::test_passwd_file[local] PASSED
71
71
test_myinfra.py::test_nginx_is_installed[local] PASSED
@@ -78,5 +78,5 @@ And run it::
78
78
.. _Ansible : https://www.ansible.com/
79
79
.. _Puppet : https://puppetlabs.com/
80
80
.. _Chef : https://www.chef.io/
81
- .. _Serverspec : http ://serverspec.org/
81
+ .. _Serverspec : https ://serverspec.org/
82
82
.. _Pytest : https://pytest.org/
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ paramiko
27
27
~~~~~~~~
28
28
29
29
This is the default backend when a hosts list is provided. `Paramiko
30
- <http ://www.paramiko.org> `_ is a Python implementation of the SSHv2
30
+ <https ://www.paramiko.org/ > `_ is a Python implementation of the SSHv2
31
31
protocol. Testinfra will not ask you for a password, so you must be
32
32
able to connect without password (using passwordless keys or using
33
33
``ssh-agent ``).
76
76
~~~~
77
77
78
78
The salt backend uses the `salt Python client API
79
- <http ://docs.saltstack.com/en/latest/ref/clients/> `_ and can be used from the salt-master server::
79
+ <https ://docs.saltstack.com/en/latest/ref/clients/> `_ and can be used from the salt-master server::
80
80
81
81
$ py.test --hosts='salt://*'
82
82
$ py.test --hosts='salt://minion1,salt://minion2'
@@ -119,7 +119,7 @@ kubectl
119
119
~~~~~~~
120
120
121
121
The kubectl backend can be used to test containers running in Kubernetes. It
122
- uses the `kubectl exec <http ://kubernetes.io/docs/user-guide/ kubectl/kubectl_exec / >`_ command and
122
+ uses the `kubectl exec <https ://kubernetes.io/docs/reference/generated/ kubectl/kubectl-commands#exec / >`_ command and
123
123
support connecting to a given container name within a pod and using a given
124
124
namespace::
125
125
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Test multiples hosts
6
6
~~~~~~~~~~~~~~~~~~~~
7
7
8
8
By default Testinfra launch tests on local machine, but you can also
9
- test remotes systems using `paramiko <http ://www.paramiko.org >`_ (a
9
+ test remotes systems using `paramiko <https ://www.paramiko.org >`_ (a
10
10
ssh implementation in python)::
11
11
12
12
$ pip install paramiko
@@ -15,7 +15,7 @@ ssh implementation in python)::
15
15
====================== test session starts ======================
16
16
platform linux -- Python 2.7.3 -- py-1.4.26 -- pytest-2.6.4
17
17
plugins: testinfra
18
- collected 3 items
18
+ collected 3 items
19
19
20
20
test_myinfra.py::test_passwd_file[localhost] PASSED
21
21
test_myinfra.py::test_nginx_is_installed[localhost] PASSED
@@ -63,5 +63,5 @@ Advanced invocation
63
63
For more usages and features, see the Pytest _ documentation.
64
64
65
65
66
- .. _Pytest : http ://pytest.org
67
- .. _pytest-xdist : http ://pytest .org/latest/ xdist.html
66
+ .. _Pytest : https ://docs. pytest.org/en/latest/
67
+ .. _pytest-xdist : https ://pypi .org/project/pytest- xdist/
Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ Checkout existing issues on `project issue tracker <https://github.com/philpep/t
12
12
IRC
13
13
~~~
14
14
15
- You can also ask questions on IRC in `#testinfra <http ://webchat.freenode.net/?randomnick=1&channels=%23testinfra >`_ channel on Freenode
15
+ You can also ask questions on IRC in `#testinfra <https ://webchat.freenode.net/?randomnick=1&channels=%23testinfra >`_ channel on Freenode
16
16
17
17
pytest documentation
18
18
~~~~~~~~~~~~~~~~~~~~
19
19
20
20
testinfra is implemented as pytest plugin so to get the most out of please
21
- read `pytest documentation <http ://pytest.org >`_
21
+ read `pytest documentation <https ://docs. pytest.org/en/latest/ >`_
22
22
23
23
Community Contributions
24
24
~~~~~~~~~~~~~~~~~~~~~~~
25
25
26
- * `Molecule <http ://molecule.readthedocs.io >`_ is an Automated testing framework for Ansible roles, with native Testinfra support.
26
+ * `Molecule <https ://molecule.readthedocs.io >`_ is an Automated testing framework for Ansible roles, with native Testinfra support.
You can’t perform that action at this time.
0 commit comments