Commit Graph

5611 Commits (2268a37d4d1ee93e7eb1b2eec656251f263adcf2)

Author SHA1 Message Date
Rick Elrod 0651e1c25f
Add some more test coverage for unarchive (#68272)
* Add some more test coverage for unarchive

This moves over (and slightly extends) coverage which was found in
incidental_flatpak_remote.

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

* add a group for testing too, user creation does not mean group creation on all platforms

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

* update the test group assert

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

* Fix style

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

* block/always

Signed-off-by: Rick Elrod <rick@elrod.me>
4 years ago
Rick Elrod 11e678b1b0
coverage for filter/urls.py, including fallback to custom implementations (#68412)
Signed-off-by: Rick Elrod <rick@elrod.me>
4 years ago
Rick Elrod 01638e0ea2
[mathstuff] Get coverage into the 90% range (#68395)
Signed-off-by: Rick Elrod <rick@elrod.me>
4 years ago
Brian Coca 6452a82452
fix vault temp file handling (#68433)
* fix vault tmpe file handling

 * use local temp dir instead of system temp
 * ensure each worker clears dataloader temp files
 * added test for dangling temp files
 * added notes to data loader

CVE-2020-10685
4 years ago
Brian Coca ecd66a6a6e
Action module xross coll (#68080)
* added test to verify xrs collection action/module

* added to runme

* sanity fixes

* corrected name

* avoid windoez
4 years ago
Jordan Borean a2deeb8fa2
ansible-galaxy - add download option (#67632)
* ansible-galaxy - add download option

* Fix sanity issues and added integration tests

* Fix doc suggestions

* Added --pre option
4 years ago
Brian Coca a9d2ceafe4
prevent ansible_facts injection (#68431)
- also only replace when needed
 - switched from replace to index
 - added test to verify bogus_facts are not accepted

CVE-2020-10684
4 years ago
Rick Elrod 97e5179745
Test installing a .deb that has deps, from a URL (#68332)
Improve coverage of the apt module and remove some incidental
coverage from incidental_lookup_rabbitmq.

Signed-off-by: Rick Elrod <rick@elrod.me>
4 years ago
Matt Martz 8d8c73729f
Merge pull request #67093 from sivel/acd-content-dir
Add content dir where Ansible will look for the content provided by ACD
4 years ago
Rick Elrod dbd8d0a492
Pull timezone's incidental file coverage into file tests (#68247)
* Remove some unreachable code in the file module

Remove some cases in file.py which are covered by conditionals a few
lines earlier. Remove the duplicate code which will never be hit.

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

* Restore incidental file coverage from timezone module

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

* Combine two conditionals, add a changelog entry

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

* Make new test syntax consistent, add two stat tests

Signed-off-by: Rick Elrod <rick@elrod.me>
4 years ago
Matt Martz d3ec31f8d5
Support pre-releases via new SemanticVersion (#68258)
* Support pre-releases via new SemanticVersion. Fixes #64905

* Don't treat buildmeta as prerelease

* Don't inherit from str and int

* Add helper method to try and construct a SemanticVersion from a LooseVersion

* Don't count major 0 as pre-release, it's different

* Guard against invalid or no version in LooseVersion

* return a bool

* Add integration tests for pre-release

* Fix up lingering issues with comparisons

* typo fix

* Always allow pre-releases in verify

* Move pre-release filtering into CollectionRequirement, add messaging when a collection only contains pre-releases

* Update changelog

* If explicit requirement allow pre releases

* Enable pre-releases for tar installs, and collections already installed when they are pre-releases

* Drop --pre-release alias, make arg name more clear

* Simplify code into a single line

* Remove build metadata precedence, add some comments, and is_stable helper

* Improve from_loose_version

* Increase test coverage

* linting fix

* Update changelog
4 years ago
Matt Martz ee6413af47
Address fixme and handle filter/test errors for collections better (#68047)
* Address fixme and handle fitler/test errors for collections better. Fixes #66721

* Re-arrange code
4 years ago
Matt Clay 5a1b59adf9 Rename tests (#68356)
* Rename `tests` test to match plugin type.

* Rename `test_infra` test to avoid confusion.

This test target is not a test for test plugins.

* Rename `vars_prompt` test to avoid confusion.

* Update sanity ignores.
4 years ago
Matt Clay a63dd92a45 Clean up network test config. 4 years ago
Matt Martz 26da443fd2 Address compat issue for collection loading on py26 (#68219)
* Address compat issue for collection loading on py26

* Move import_module shim to utils for compat across the codebase

* Enable collection tests on py2.6

* Update changelog fragment

* Simplify code using sys.moduls

* Move compat to module_utils/compat/importlib

* Add back errantly deleted newline

* Remove hack comment

Co-Authored-By: Matt Clay <matt@mystile.com>

Co-authored-by: Matt Clay <matt@mystile.com>
4 years ago
Matt Clay 41f6c73be0 Update ansible-test network test provisioning. (#68220)
* Update network provisioning defaults.

* Update network test requirements.
4 years ago
Matt Clay 9126ac53e3 Add dynamic and static include tests. (#68200)
* Add dynamic and static include tests.

* Update task names for junit output.
4 years ago
Matt Clay 09614d90ac Consolidate Windows tests to one group. 4 years ago
Matt Clay 5e28323f32 Fix incidental test stability. (#68125) 4 years ago
Ansible Core Team e0e57b4beb migration final cleanup 4 years ago
Ansible Core Team cc2feea51b Migrated to vyos.vyos 4 years ago
Ansible Core Team 40714dfca9 Migrated to openvswitch.openvswitch 4 years ago
Ansible Core Team ab914b9ab6 Migrated to azure.azcollection 4 years ago
Ansible Core Team 7449ec1546 Migrated to google.cloud 4 years ago
Ansible Core Team dd5a8dec21 Migrated to hetzner.hcloud 4 years ago
Ansible Core Team 36a545553e Migrated to dellemc_networking.os6 4 years ago
Ansible Core Team bc40fe0b6f Migrated to dellemc_networking.os9 4 years ago
Ansible Core Team 0b633b3703 Migrated to dellemc_networking.os10 4 years ago
Ansible Core Team 02541a15b2 Migrated to awx.awx 4 years ago
Ansible Core Team 35063de590 Migrated to junipernetworks.junos 4 years ago
Ansible Core Team 675129ae19 Migrated to cisco.ucs 4 years ago
Ansible Core Team 3149db0869 Migrated to cisco.nxos 4 years ago
Ansible Core Team ae8fb5e371 Migrated to cisco.mso 4 years ago
Ansible Core Team 8a3f3e41f8 Migrated to cisco.meraki 4 years ago
Ansible Core Team 5aa37733c3 Migrated to cisco.iosxr 4 years ago
Ansible Core Team 7e04b5ba8b Migrated to cisco.ios 4 years ago
Ansible Core Team 8a2e2e8af2 Migrated to cisco.intersight 4 years ago
Ansible Core Team ab5a3b4305 Migrated to cisco.asa 4 years ago
Ansible Core Team 3f1cea89fb Migrated to cisco.aci 4 years ago
Ansible Core Team 14b0ab63ac Migrated to arista.eos 4 years ago
Ansible Core Team 0743e733bb Migrated to theforeman.foreman 4 years ago
Ansible Core Team 09d8d46983 Migrated to fortinet.fortios 4 years ago
Ansible Core Team 48d4e9370e Migrated to ansible.windows 4 years ago
Ansible Core Team 829eb0f1d1 Migrated to ansible.posix 4 years ago
Ansible Core Team 9a7a574ffc Migrated to ansible.netcommon 4 years ago
Ansible Core Team 6d910034a0 Migrated to ansible.amazon 4 years ago
Ansible Core Team bb3494356a Migrated to community.windows 4 years ago
Ansible Core Team 40218535ee Migrated to community.vmware 4 years ago
Ansible Core Team 46b865c7d6 Migrated to community.mongo 4 years ago
Ansible Core Team 0ed8af9021 Migrated to community.crypto 4 years ago