-
- Downloads
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.
Showing
- .gitignore 2 additions, 0 deletions.gitignore
- pytest.ini 3 additions, 0 deletionspytest.ini
- requirements-dev.txt 2 additions, 0 deletionsrequirements-dev.txt
- requirements-tests.txt 6 additions, 0 deletionsrequirements-tests.txt
- tests/README.md 15 additions, 1 deletiontests/README.md
- tests/azure/templates/group_tests.yml 5 additions, 0 deletionstests/azure/templates/group_tests.yml
- tests/azure/templates/playbook_tests.yml 7 additions, 5 deletionstests/azure/templates/playbook_tests.yml
- tests/azure/templates/pytest_tests.yml 55 additions, 0 deletionstests/azure/templates/pytest_tests.yml
- tests/pytests/dnszone/playbooks/dnszone_add_multiple_ipv4_ipv6_forwarders.yaml 15 additions, 0 deletions.../playbooks/dnszone_add_multiple_ipv4_ipv6_forwarders.yaml
- tests/pytests/dnszone/playbooks/dnszone_add_without_forwarder.yaml 9 additions, 0 deletions...ests/dnszone/playbooks/dnszone_add_without_forwarder.yaml
- tests/pytests/dnszone/playbooks/dnszone_del_multiple.yaml 10 additions, 0 deletionstests/pytests/dnszone/playbooks/dnszone_del_multiple.yaml
- tests/pytests/dnszone/playbooks/dnszone_disable.yaml 9 additions, 0 deletionstests/pytests/dnszone/playbooks/dnszone_disable.yaml
- tests/pytests/dnszone/playbooks/dnszone_enable.yaml 9 additions, 0 deletionstests/pytests/dnszone/playbooks/dnszone_enable.yaml
- tests/pytests/dnszone/playbooks/dnszone_invalid_ip.yaml 11 additions, 0 deletionstests/pytests/dnszone/playbooks/dnszone_invalid_ip.yaml
- tests/pytests/dnszone/playbooks/dnszone_invalid_serial.yaml 10 additions, 0 deletionstests/pytests/dnszone/playbooks/dnszone_invalid_serial.yaml
- tests/pytests/dnszone/playbooks/dnszone_name_from_ip.yaml 8 additions, 0 deletionstests/pytests/dnszone/playbooks/dnszone_name_from_ip.yaml
- tests/pytests/dnszone/playbooks/dnszone_with_forward_policy_only.yaml 9 additions, 0 deletions...s/dnszone/playbooks/dnszone_with_forward_policy_only.yaml
- tests/pytests/dnszone/test_dnszone.py 147 additions, 0 deletionstests/pytests/dnszone/test_dnszone.py
- tests/test_playbook_runs.py 33 additions, 128 deletionstests/test_playbook_runs.py
- tests/utils.py 279 additions, 0 deletionstests/utils.py
Loading
Please register or sign in to comment