Rafael Guterres Jeffman
46a307aaeb
pylint: Fix unused-argument
2023-09-11 12:01:17 -03:00
Thomas Woerner
a4b8e10a40
ansible-test: Do not use automatic field numbering specification
...
Automatic field numbering specification is not allowed by ansible-test.
2023-05-05 16:26:45 +02:00
Thomas Woerner
7d3921e510
Use yml extension for pytest tests
...
The pytest .yaml files have been rename to .yml to enable
build-galaxy-release to fix the prefix of the ansible-freeipa modules.
2023-01-19 16:07:42 +01:00
Rafael Guterres Jeffman
a5306b2db5
pytests/test_dnszone: Fix evaluation of boolean values
...
Evaluating boolean values output by FreeIPA must use regular
expressions to handle both "TRUE/FALSE" and "True/False".
2022-07-06 12:11:16 -03:00
Thomas Woerner
a86970efe1
Remove "’" from yaml files
...
This patch is needed to pass Automation Hub tests.
2021-11-24 10:07:02 +01:00
Rafael Guterres Jeffman
e7d354c2d4
Fix ansible-lint E502 for test playbooks.
...
This patch adds 'name' to all test playbook tasks that did not
have it, fixing ansible-lint's error 'unnamed-task'.
2021-09-29 15:49:00 -03:00
Rafael Guterres Jeffman
9454bcaacb
dnszone: remove variable serial.
...
As of FreeIPA 4.9.7, setting SOA serial is deprecated, so this change
removes support for setting this variable in ipadnszone module.
2021-08-23 14:42:14 -03:00
Sergio Oliveira Campos
06f06c487c
Added helpers to config tests for execution on idm-ci.
...
In order to run the tests in idm-ci we need to configure the our pytest
tests environment variables. This PR configures that automatically if an
environment variable TWD is available and $TWD/config exists.
2020-09-01 18:08:55 -03:00
Sergio Oliveira Campos
af7060d3a9
Added ability to add pytest tests
...
Until now ansible-freeipa repository only had playbook tests. This
commit introduces the ability of creating TestCase classes connected to
the master host. This connection can be used to run commands in the
managed host after the ansible playbook execution is the allowing the
verification of the machine state.
2020-08-31 12:08:13 -03:00