Use yml extension for pytest tests

The pytest .yaml files have been rename to .yml to enable
build-galaxy-release to fix the prefix of the ansible-freeipa modules.
This commit is contained in:
Thomas Woerner
2023-01-19 15:39:14 +01:00
parent 6000aac687
commit 7d3921e510
11 changed files with 9 additions and 9 deletions

View File

@@ -38,7 +38,7 @@ def pytest_configure(config):
config_dir = os.path.join(test_dir, "config")
if os.path.exists(config_dir):
inventory_path = os.path.join(config_dir, "test.inventory.yaml")
inventory_path = os.path.join(config_dir, "test.inventory.yml")
inventory = get_inventory(inventory_path)
print("Configuring execution using {}".format(inventory_path))
ipaservers = inventory["all"]["children"]["ipaserver"]["hosts"]