From 8c5e1107b4152eeee859924685e697808315a123 Mon Sep 17 00:00:00 2001 From: Michele Costa Date: Thu, 21 Mar 2024 16:35:03 +0000 Subject: [PATCH] Remove test for custom_vendors As we don't host the vendor role anymore it doesn't make sense to have this test --- .../vendors/test_custom_vendor/main/disk.yml | 1 - .../test_custom_vendor/main/exists.yml | 4 --- .../vendors/test_custom_vendor/main/iso.yml | 1 - tests/validate_inventory/suites/vendor.yml | 25 ------------------- tests/validate_inventory/tests.yml | 1 - 5 files changed, 32 deletions(-) delete mode 100644 tests/validate_inventory/roles_for_vaildating_role_fetching/vendors/test_custom_vendor/main/disk.yml delete mode 100644 tests/validate_inventory/roles_for_vaildating_role_fetching/vendors/test_custom_vendor/main/exists.yml delete mode 100644 tests/validate_inventory/roles_for_vaildating_role_fetching/vendors/test_custom_vendor/main/iso.yml delete mode 100644 tests/validate_inventory/suites/vendor.yml diff --git a/tests/validate_inventory/roles_for_vaildating_role_fetching/vendors/test_custom_vendor/main/disk.yml b/tests/validate_inventory/roles_for_vaildating_role_fetching/vendors/test_custom_vendor/main/disk.yml deleted file mode 100644 index ed97d539..00000000 --- a/tests/validate_inventory/roles_for_vaildating_role_fetching/vendors/test_custom_vendor/main/disk.yml +++ /dev/null @@ -1 +0,0 @@ ---- diff --git a/tests/validate_inventory/roles_for_vaildating_role_fetching/vendors/test_custom_vendor/main/exists.yml b/tests/validate_inventory/roles_for_vaildating_role_fetching/vendors/test_custom_vendor/main/exists.yml deleted file mode 100644 index 0f1e886f..00000000 --- a/tests/validate_inventory/roles_for_vaildating_role_fetching/vendors/test_custom_vendor/main/exists.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -- debug: # noqa: unnamed-task - msg: "I exist" - verbosity: 1 diff --git a/tests/validate_inventory/roles_for_vaildating_role_fetching/vendors/test_custom_vendor/main/iso.yml b/tests/validate_inventory/roles_for_vaildating_role_fetching/vendors/test_custom_vendor/main/iso.yml deleted file mode 100644 index ed97d539..00000000 --- a/tests/validate_inventory/roles_for_vaildating_role_fetching/vendors/test_custom_vendor/main/iso.yml +++ /dev/null @@ -1 +0,0 @@ ---- diff --git a/tests/validate_inventory/suites/vendor.yml b/tests/validate_inventory/suites/vendor.yml deleted file mode 100644 index e098643d..00000000 --- a/tests/validate_inventory/suites/vendor.yml +++ /dev/null @@ -1,25 +0,0 @@ -tags: validate_vendor -env: - ANSIBLE_ROLES_PATH: roles:tests/validate_inventory/roles_for_vaildating_role_fetching -template_file: test_inv.yml.j2 - -tests: - - test_name: valid_vendor - expected: 0 - - - test_name: invalid_test_vendor - expected: 2 - template: - vendor: test_custom_vendor - - - test_name: invalid_test_custom_vendor_doesnt_exist - expected: 2 - template: - vendor: test_custom_vendor_doesnt_exist - allow_custom_vendor: true - - - test_name: valid_test_custom_vendor - expected: 0 - template: - vendor: test_custom_vendor - allow_custom_vendor: true diff --git a/tests/validate_inventory/tests.yml b/tests/validate_inventory/tests.yml index 5e458b71..af52694f 100644 --- a/tests/validate_inventory/tests.yml +++ b/tests/validate_inventory/tests.yml @@ -11,7 +11,6 @@ - vms.yml - ntp.yml - day2.yml - - vendor.yml - proxy.yml tasks: - name: Run Inventory Validation test suites