Skip to content

Commit

Permalink
stable-3.x: Fix sanity tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolenz committed Sep 28, 2024
1 parent 846af4b commit 8d04933
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/2186-fix-sanity-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- vmware_dvswitch - Fix pylint issue (https://github.com/ansible-collections/community.vmware/pull/2186).
1 change: 1 addition & 0 deletions plugins/modules/vmware_dvswitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -887,6 +887,7 @@ def update_dvswitch(self):
config_spec.defaultPortConfig.macManagementPolicy = policy

# Check switch version
spec_product = None
if self.switch_version:
results['version'] = self.switch_version
if self.dvs.config.productInfo.version != self.switch_version:
Expand Down
5 changes: 5 additions & 0 deletions tests/sanity/ignore-2.19.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
plugins/modules/vmware_deploy_ovf.py replace-urlopen!skip
plugins/modules/vmware_deploy_ovf.py use-argspec-type-path!skip
plugins/modules/vmware_host_acceptance.py validate-modules:parameter-state-invalid-choice
scripts/inventory/vmware_inventory.py pep8!skip
tests/unit/mock/loader.py pep8!skip

0 comments on commit 8d04933

Please sign in to comment.