From f1ab7cf0c65f6ff6e6f25f787e18beb127b12f46 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Wed, 10 Jun 2020 10:02:01 +0200 Subject: [PATCH] Validate-modules: adjust test to fixes in #69977 (#69978) --- .../_data/sanity/validate-modules/validate_modules/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/main.py b/test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/main.py index 24781f32077..40eadab7683 100644 --- a/test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/main.py +++ b/test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/main.py @@ -1574,7 +1574,7 @@ class ModuleValidator(Validator): for deprecated_alias in deprecated_aliases: if 'name' in deprecated_alias and 'version' in deprecated_alias: try: - collection_name = deprecated_alias.get('collection') + collection_name = deprecated_alias.get('collection_name') version = self._create_version(str(deprecated_alias['version']), collection_name=collection_name) if has_version and collection_name == self.collection_name and compare_version >= version: msg = "Argument '%s' in argument_spec" % arg