This website requires JavaScript.
Explore
Help
Sign In
a-c-m
/
ansible.utils
mirror of
https://github.com/ansible-collections/ansible.utils.git
Watch
1
Star
0
Fork
You've already forked ansible.utils
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
bd78088e9d
ansible.utils
/
tests
/
unit
/
requirements.txt
6 lines
66 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Update jsonschema validator (#226) * Update jsonschema validator Update jsonschema validator to support newer drafts. It now supports drafts 2019-09 and 2020-12. The logic for choosing the jsonschema validator class has changed so that the following enhancements are available: - When no draft is explicitly specified we now use use the validator draft that is specified in the "$schema" field of the criteria. This is done by the jsonschema module by default and should support possible future drafts without any changes to this code. - Optionally allow to disable format checks in the code. As format checks are not required by the spec there might be situations where people want to disable them. * Update requirements.txt * Skip all tests which dependas on jsonschema 4.5 * jsonschema: Refactor code to support python 3.6 * Fix jsonschema requirements for python<3.7 * jsonschema: Update code for compatibility * Better documentation and error handling for missing schema specifications * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ashwini Mhatre <amhatre@redhat.com> Co-authored-by: ashwini-mhatre <mashu97@gmail.com>
2023-04-05 15:01:12 +00:00
jsonschema
Add 'netaddr' To 'requirements.txt' For Unit Tests (#143) Add 'netaddr' To 'requirements.txt' For Unit Tests This enables 'ansible-test --docker' and 'ansible-test --venv' to be able to leverage 'netaddr' and pass tests SUMMARY This adds the 'netaddr' python module to the requirements specific to unit tests. This allows 'ansible-test' to work for '--docker' and '--venv' without manual intervention. I also re-ordered the current list to be alphabetical. Fixes #142 ISSUE TYPE Bugfix Pull Request COMPONENT NAME Unit tests in ansible.utils for ipsubnet ADDITIONAL INFORMATION git clone https://github.com/ansible-collections/ansible.utils.git cd ansible.utils ansible-galaxy collection build . ansible-galaxy collection install -p . ansible-utils-\*.tar.gz ansible-test units --docker base tests/unit/plugins/filter/test_ipsubnet.py --requirements --verbose Reviewed-by: Ashwini Mhatre <mashu97@gmail.com>
2022-02-25 07:32:23 +00:00
netaddr
Add missing test requirements (#57) Add missing test requirements Reviewed-by: https://github.com/apps/ansible-zuul
2021-04-27 08:26:47 +00:00
textfsm
Add 'netaddr' To 'requirements.txt' For Unit Tests (#143) Add 'netaddr' To 'requirements.txt' For Unit Tests This enables 'ansible-test --docker' and 'ansible-test --venv' to be able to leverage 'netaddr' and pass tests SUMMARY This adds the 'netaddr' python module to the requirements specific to unit tests. This allows 'ansible-test' to work for '--docker' and '--venv' without manual intervention. I also re-ordered the current list to be alphabetical. Fixes #142 ISSUE TYPE Bugfix Pull Request COMPONENT NAME Unit tests in ansible.utils for ipsubnet ADDITIONAL INFORMATION git clone https://github.com/ansible-collections/ansible.utils.git cd ansible.utils ansible-galaxy collection build . ansible-galaxy collection install -p . ansible-utils-\*.tar.gz ansible-test units --docker base tests/unit/plugins/filter/test_ipsubnet.py --requirements --verbose Reviewed-by: Ashwini Mhatre <mashu97@gmail.com>
2022-02-25 07:32:23 +00:00
ttp
unittest2 ; python_version < '2.7'