octavia/octavia/tests/unit/api
Nguyen Ngoc Hieu 7261730dff Fix health monitor information retrieval in API response
Closes bug: #2038367

Behavior: In the response body of the LB API when creating
a new load balancer, the information about the health
monitor is always null, even though it has been configured.

Reproduce: Using the Octavia API to create a new LB with
all components. You cannot see any information about the
health monitor that will be returned.

Proposed Fix: Modify the assignment to use
`data_model.health_monitor` instead of `pool.healthmonitor`.

Change-Id: Ia914ad89b6fdf3606c3d4bff0a4c425348c15e0c
2023-10-13 11:55:57 +07:00
..
common Fix the unit test tree structure 2021-01-14 15:55:35 -05:00
drivers [sqlalchemy2] subtransactions & autocommit removal 2023-07-28 10:28:38 +02:00
v2 Fix health monitor information retrieval in API response 2023-10-13 11:55:57 +07:00
__init__.py Add license for empty __init__.py 2018-03-14 07:02:56 +09:00
test_config.py Fix Octavia API HTTP Accept header handling 2023-02-16 23:23:35 +00:00