From 3c5ae486f0c100ed3783258c22885e714329e931 Mon Sep 17 00:00:00 2001 From: Michiel Thai <46019913+mieel@users.noreply.github.com> Date: Sun, 11 Apr 2021 09:14:22 +0200 Subject: [PATCH] Add verifier to molecule definition --- molecule/default/molecule.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 7490710..f69a729 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -15,3 +15,15 @@ provisioner: name: ansible playbooks: converge: ${MOLECULE_PLAYBOOK:-converge.yml} + +verifier: + name: testinfra + directory: ../tests/ + env: + # get rid of the DeprecationWarning messages of third-party libs, + # see "https://docs.pytest.org/en/latest/warnings.html + # #deprecationwarning-and-pendingdeprecationwarning" + PYTHONWARNINGS: "ignore:.*U.*mode is deprecated:DeprecationWarning" + options: + # show which tests where executed in test output + v: 3