Browse code

Remove redundant "Sanity Tests »" from page title.

The docs now have multi-level breadcrumbs so including "Sanity Tests »" in the title on a sanity test page is redundant.

(cherry picked from commit b4494fa5476a055df343f1c6d17ea0a135d4498a)
(cherry picked from commit dd42aac8780b49dc7d363cdef28dbfd75cfe2b1e)

Matt Clay authored on 2019/07/27 00:51:09
Showing 40 changed files
... ...
@@ -1,4 +1,4 @@
1
-Sanity Tests » ansible-doc
2
-==========================
1
+ansible-doc
2
+===========
3 3
 
4 4
 Verifies that ``ansible-doc`` can parse module documentation on all supported Python versions.
... ...
@@ -1,6 +1,6 @@
1 1
 :orphan:
2 2
 
3
-Sanity Tests » ansible-var-precedence-check
4
-===========================================
3
+ansible-var-precedence-check
4
+============================
5 5
 
6 6
 Check the order of precedence for Ansible variables against :ref:`ansible_variable_precedence`.
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » azure-requirements
2
-=================================
1
+azure-requirements
2
+==================
3 3
 
4 4
 Update the Azure integration test requirements file when changes are made to the Azure packaging requirements file:
5 5
 
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » boilerplate
2
-==========================
1
+boilerplate
2
+===========
3 3
 
4 4
 Most Python files should include the following boilerplate:
5 5
 
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » changelog
2
-========================
1
+changelog
2
+=========
3 3
 
4 4
 Basic linting of changelog fragments with yamllint and rstcheck.
5 5
 
... ...
@@ -1,4 +1,4 @@
1
-Sanity Tests » compile
2
-======================
1
+compile
2
+=======
3 3
 
4 4
 See :doc:`../../testing_compile` for more information.
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » configure-remoting-ps1
2
-=====================================
1
+configure-remoting-ps1
2
+======================
3 3
 
4 4
 The file ``examples/scripts/ConfigureRemotingForAnsible.ps1`` is required and must be a regular file.
5 5
 It is used by external automated processes and cannot be moved, renamed or replaced with a symbolic link.
... ...
@@ -1,6 +1,6 @@
1 1
 :orphan:
2 2
 
3
-Sanity Tests » docs-build
4
-=========================
3
+docs-build
4
+==========
5 5
 
6 6
 Verifies that ``make singlehtmldocs`` in ``docs/docsite/`` completes without errors.
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » empty-init
2
-=========================
1
+empty-init
2
+==========
3 3
 
4 4
 The ``__init__.py`` files under the following directories must be empty.  For some of these (modules
5 5
 and tests), ``__init__.py`` files with code won't be used.  For others (module_utils), we want the
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » import
2
-=====================
1
+import
2
+======
3 3
 
4 4
 All Python imports in ``lib/ansible/modules/`` and ``lib/ansible/module_utils/`` which are not from the Python standard library
5 5
 must be imported in a try/except ImportError block.
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » integration-aliases
2
-==================================
1
+integration-aliases
2
+===================
3 3
 
4 4
 Integration tests are executed by ``ansible-test`` and reside in directories under ``test/integration/targets/``.
5 5
 Each test MUST have an ``aliases`` file to control test execution.
... ...
@@ -1,4 +1,4 @@
1
-Sanity Tests » line-endings
2
-===========================
1
+line-endings
2
+============
3 3
 
4 4
 All files must use ``\n`` for line endings instead of ``\r\n``.
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » no-assert
2
-========================
1
+no-assert
2
+=========
3 3
 
4 4
 Do not use ``assert`` in production Ansible python code. When running Python
5 5
 with optimizations, Python will remove ``assert`` statements, potentially
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » no-basestring
2
-============================
1
+no-basestring
2
+=============
3 3
 
4 4
 Do not use ``isinstance(s, basestring)`` as basestring has been removed in
5 5
 Python3.  You can import ``string_types``, ``binary_type``, or ``text_type``
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » no-dict-iteritems
2
-================================
1
+no-dict-iteritems
2
+=================
3 3
 
4 4
 The ``dict.iteritems`` method has been removed in Python 3. There are two recommended alternatives:
5 5
 
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » no-dict-iterkeys
2
-===============================
1
+no-dict-iterkeys
2
+================
3 3
 
4 4
 The ``dict.iterkeys`` method has been removed in Python 3. Use the following instead:
5 5
 
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » no-dict-itervalues
2
-=================================
1
+no-dict-itervalues
2
+==================
3 3
 
4 4
 The ``dict.itervalues`` method has been removed in Python 3. There are two recommended alternatives:
5 5
 
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » no-get-exception
2
-===============================
1
+no-get-exception
2
+================
3 3
 
4 4
 We created a function, ``ansible.module_utils.pycompat24.get_exception`` to
5 5
 help retrieve exceptions in a manner compatible with Python 2.4 through
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » no-illegal-filenames
2
-===================================
1
+no-illegal-filenames
2
+====================
3 3
 
4 4
 Files and directories should not contain illegal characters or names so that
5 5
 Ansible can be checked out on any Operating System.
... ...
@@ -1,4 +1,4 @@
1
-Sanity Tests » no-smart-quotes
2
-==============================
1
+no-smart-quotes
2
+===============
3 3
 
4 4
 Smart quotes (``”“‘’``) should not be used.  Use plain ascii quotes (``"'``) instead.
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » no-tests-as-filters
2
-==================================
1
+no-tests-as-filters
2
+===================
3 3
 
4 4
 Using Ansible provided Jinja2 tests as filters will be removed in Ansible 2.9.
5 5
 
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » no-underscore-variable
2
-=====================================
1
+no-underscore-variable
2
+======================
3 3
 
4 4
 In the future, Ansible may use the identifier ``_`` to internationalize its
5 5
 message strings.  To be ready for that, we need to make sure that there are
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » no-unicode_literals
2
-==================================
1
+no-unicode_literals
2
+===================
3 3
 
4 4
 The use of :code:`from __future__ import unicode_literals` has been deemed an anti-pattern.  The
5 5
 problems with it are:
... ...
@@ -1,7 +1,7 @@
1 1
 :orphan:
2 2
 
3
-Sanity Tests » no-wildcard-import
4
-=================================
3
+no-wildcard-import
4
+==================
5 5
 
6 6
 Using :code:`import *` is a bad habit which pollutes your namespace, hinders
7 7
 debugging, and interferes with static analysis of code.  For those reasons, we
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » pep8
2
-===================
1
+pep8
2
+====
3 3
 
4 4
 Python static analysis for PEP 8 style guideline compliance.
5 5
 
... ...
@@ -1,4 +1,4 @@
1
-Sanity Tests » pslint
2
-=====================
1
+pslint
2
+======
3 3
 
4 4
 PowerShell static analysis for common programming errors using `PSScriptAnalyzer <https://github.com/PowerShell/PSScriptAnalyzer/>`_.
... ...
@@ -1,7 +1,7 @@
1 1
 :orphan:
2 2
 
3
-Sanity Tests » pylint-ansible-test
4
-==================================
3
+pylint-ansible-test
4
+===================
5 5
 
6 6
 Python static analysis for common programming errors.
7 7
 
... ...
@@ -1,4 +1,4 @@
1
-Sanity Tests » pylint
2
-=====================
1
+pylint
2
+======
3 3
 
4 4
 Python static analysis for common programming errors.
... ...
@@ -1,4 +1,4 @@
1
-Sanity Tests » replace-urlopen
2
-==============================
1
+replace-urlopen
2
+===============
3 3
 
4 4
 Use ``open_url`` from ``module_utils`` instead of ``urlopen``.
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » required-and-default-attributes
2
-==============================================
1
+required-and-default-attributes
2
+===============================
3 3
 
4 4
 Use only one of ``default`` or ``required`` with ``FieldAttribute``.
5 5
 
... ...
@@ -1,4 +1,4 @@
1
-Sanity Tests » rstcheck
2
-=======================
1
+rstcheck
2
+========
3 3
 
4 4
 Check reStructuredText files for syntax and formatting issues.
... ...
@@ -1,4 +1,4 @@
1
-Sanity Tests » sanity-docs
2
-==========================
1
+sanity-docs
2
+===========
3 3
 
4 4
 Documentation for each ``ansible-test sanity`` test is required.
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » shebang
2
-======================
1
+shebang
2
+=======
3 3
 
4 4
 Most executable files should only use one of the following shebangs:
5 5
 
... ...
@@ -1,4 +1,4 @@
1
-Sanity Tests » shellcheck
2
-=========================
1
+shellcheck
2
+==========
3 3
 
4 4
 Static code analysis for shell scripts using the excellent `shellcheck <https://www.shellcheck.net/>`_ tool.
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » symlinks
2
-=======================
1
+symlinks
2
+========
3 3
 
4 4
 Symbolic links are only permitted for files that exist to ensure proper tarball generation during a release.
5 5
 
... ...
@@ -1,4 +1,4 @@
1
-Sanity Tests » test-constraints
2
-===============================
1
+test-constraints
2
+================
3 3
 
4 4
 Constraints for test requirements should be in ``test/runner/requirements/constraints.txt``.
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » use-argspec-type-path
2
-====================================
1
+use-argspec-type-path
2
+=====================
3 3
 
4 4
 The AnsibleModule argument_spec knows of several types beyond the standard python types.  One of
5 5
 these is ``path``.  When used, type ``path`` ensures that an argument is a string and expands any
... ...
@@ -1,4 +1,4 @@
1
-Sanity Tests » use-compat-six
2
-=============================
1
+use-compat-six
2
+==============
3 3
 
4 4
 Use ``six`` from ``module_utils`` instead of ``six``.
... ...
@@ -1,5 +1,5 @@
1
-Sanity Tests » validate-modules
2
-===============================
1
+validate-modules
2
+================
3 3
 
4 4
 Analyze modules for common issues in code and documentation.
5 5
 
... ...
@@ -1,4 +1,4 @@
1
-Sanity Tests » yamllint
2
-=======================
1
+yamllint
2
+========
3 3
 
4 4
 Check YAML files for syntax and formatting issues.