tripleo-common/tripleo_common/tests/utils
Jesse Pretorius (odyssey4me) 813ffef308 tests: Get RoleData correctly
In Ie543782569de14d56bc41740611f7512e8357a22 a new entry was added
into the fake stack, but the indexes for any test accessing the
FAKE_STACK were not changed, effectively breaking several tests
silently.

This patch removes the direct referencing of indexes in FAKE_STACK
and uses the config utilities to get the data correctly. It also
corrects the reference to the constant UPGRADE_STEPS_MAX which no
longer exists thanks to Ie03084bb599b7b06aeeb321d2a7938a908487788

We also add mock_assert_called to several of the tests to ensure
that if the fake_role list is empty, the test will fail.

Change-Id: I08757ab389f35de52814fba48722e9325e50ab21
2020-02-03 13:12:04 +00:00
..
data Clean up host var for pre/post deployment 2019-08-30 17:10:52 -04:00
__init__.py Initial workflow implementation of tripleo-common 2015-12-07 12:38:42 -05:00
test_config.py tests: Get RoleData correctly 2020-02-03 13:12:04 +00:00
test_glance.py Rework create_or_find_kernel_and_ramdisk to match the current reality 2019-06-07 13:08:35 +02:00
test_nodes.py Remove support for enrolling nodes with Cisco hardware types 2019-08-05 20:15:56 +02:00
test_overcloudrc.py Fix quoting for PYTHONWARNINGS 2020-01-02 08:43:31 -07:00
test_parameters.py Add convert_docker_params function 2019-04-10 10:02:53 -04:00
test_passwords.py Ensure that OctaviaServerCertsKeyPassphrase is 32-byte long 2019-07-04 00:03:44 +03:00
test_plan.py Fix environments sorting 2018-12-03 18:02:21 +01:00
test_process.py Support for Buildah in kolla_builder 2019-02-14 13:34:51 +00:00
test_roles.py Use Timesync service instead of Ntp 2018-10-11 10:18:02 +00:00
test_swift.py Handle swift interactions are strings as necessary 2019-03-01 15:45:56 -07:00
test_time_functions.py Add GUI logging workflows 2017-08-08 08:55:55 +02:00
test_validations.py Processing available Ansible variables as 'parameters' not as 'metadata' 2019-07-08 13:02:31 +02:00