You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units
Rick Elrod bd1acb74c8
[playbook/play.py] Increase error test coverage (#74217)
Change:
- Mostly increase error coverage for various conditions in play.py
- Also fix a string in an error, where get_name() was called before
  self.name was read in, so get_name() was always ''.

Test Plan:
- new tests

Signed-off-by: Rick Elrod <rick@elrod.me>

* Fix regex for py2 and py3

Signed-off-by: Rick Elrod <rick@elrod.me>

* py2 hates me

Signed-off-by: Rick Elrod <rick@elrod.me>
4 years ago
..
_vendor transparent downstream vendoring (#69850) 5 years ago
ansible_test Overhaul ansible-test container management. 4 years ago
cli Clarify CLI version number as core version (#72287) 4 years ago
compat Move unit test compat code out of `lib/ansible/`. (#46996) 6 years ago
config Provide better decryption errors for single vault values (#72362) 4 years ago
errors Fix YAML error message when error is at the end of the file (#73241) 4 years ago
executor Use ArgumentSpecValidator in AnsibleModule (#73703) 4 years ago
galaxy add --offline option to galaxy collection verify (#74040) 4 years ago
inventory Clean up unit test boilerplate. 4 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 10 years ago
mock only add data when there is data to add (#54559) 4 years ago
module_utils Use ArgumentSpecValidator in AnsibleModule (#73703) 4 years ago
modules async_wrapper more info on end (#74199) 4 years ago
parsing vault: Read stdin data as binary on python3 (#52229) 4 years ago
playbook [playbook/play.py] Increase error test coverage (#74217) 4 years ago
plugins Remove deprecated cache interfaces (#74198) 4 years ago
regex Add toggle to control invalid character substitution in group names (#52748) 6 years ago
template Do not treat AnsibleUndefined as being unsafe (#65202) 5 years ago
utils Fixed/improved regular expresssion for collection names (#73577) 4 years ago
vars Remove empty setUp/tearDown/tearDownClass methods in test classes. 5 years ago
__init__.py Add empty-init code-smell script. (#18406) 8 years ago
requirements.txt Remove unnecessary unit test requirements. 5 years ago
test_constants.py Remove some constants.py deprecated items (#70466) 4 years ago
test_context.py Clean up unit test boilerplate. 4 years ago