shipyard/src/bin/shipyard_airflow/tests/unit/control
skovaleff 9f453dd22b Fix 404 on log retrieval for retries of a step
Retries of a step may execute on different workers.
Each worker only exposes the logs that were generated by that worker.
When assembling the URL for the step, we need to ensure
that we include the retry number as part of the key lookup for a step,
so that it can use the correct worker reference.

Updated ActionsHelper.get_step to use try_number.
The test is included.

Change-Id: I2f8cf9ed70ce344f53ecdcc4edbec924ba6a00c9
2018-09-10 21:22:18 -07:00
..
af_monitoring Refactor to use unittest.mock instead of mock 2018-07-25 10:41:16 -05:00
middleware Refactor shipyard to UCP target layout 2018-04-24 16:47:13 -05:00
__init__.py Refactor shipyard to UCP target layout 2018-04-24 16:47:13 -05:00
common.py Refactor shipyard to UCP target layout 2018-04-24 16:47:13 -05:00
conftest.py Refactor shipyard to UCP target layout 2018-04-24 16:47:13 -05:00
fake_response.py Refactor shipyard to UCP target layout 2018-04-24 16:47:13 -05:00
test.conf Add Oslo Policy options for policy file location 2018-08-09 13:55:40 -05:00
test_action_helper.py Fix 404 on log retrieval for retries of a step 2018-09-10 21:22:18 -07:00
test_action_validators.py Add redeploy_server processing 2018-08-21 09:42:40 -05:00
test_actions_api.py Add redeploy_server processing 2018-08-21 09:42:40 -05:00
test_actions_control_api.py Refactor shipyard to UCP target layout 2018-04-24 16:47:13 -05:00
test_actions_id_api.py Refactor to use unittest.mock instead of mock 2018-07-25 10:41:16 -05:00
test_actions_steps_id_api.py Refactor to use unittest.mock instead of mock 2018-07-25 10:41:16 -05:00
test_actions_steps_id_logs_api.py Refactor to use unittest.mock instead of mock 2018-07-25 10:41:16 -05:00
test_actions_validations_id_api.py Refactor to use unittest.mock instead of mock 2018-07-25 10:41:16 -05:00
test_api.py Refactor shipyard to UCP target layout 2018-04-24 16:47:13 -05:00
test_base_resource.py Refactor shipyard to UCP target layout 2018-04-24 16:47:13 -05:00
test_configdocs_api.py Refactor to use unittest.mock instead of mock 2018-07-25 10:41:16 -05:00
test_configdocs_helper.py Fix check_intermidiate_commit logic 2018-09-07 08:19:06 -07:00
test_redaction.py Mask password in logs for database connection 2018-07-26 12:37:00 -05:00
test_rendered_configdocs_api.py Refactor to use unittest.mock instead of mock 2018-07-25 10:41:16 -05:00
test_shipyard_request_context.py Refactor shipyard to UCP target layout 2018-04-24 16:47:13 -05:00
test_start_shipyard.py Refactor shipyard to UCP target layout 2018-04-24 16:47:13 -05:00
test_status_api.py A new Shipyard site statuses API and CLI 2018-07-31 09:16:36 +00:00
test_status_helper.py A new Shipyard site statuses API and CLI 2018-07-31 09:16:36 +00:00