Skip to content

Load Balancer Unit tests #1158

@allmightyspiff

Description

@allmightyspiff

I've been working on adding support for the IBM cloud LBs in the slcli in this branch: https://github.com/softlayer/softlayer-python/tree/loadbalancers

Needs unit tests though.

Name Stmts Miss Cover Missing
SoftLayer/managers/load_balancer.py 77 57 26% 22-29, 36-38, 45-48, 55-59, 66-74, 82-83, 95, 104-108, 117-119, 129-132, 145-147, 162-165, 172-173, 182-184, 197-224, 228-231, 240
SoftLayer/CLI/loadbal/detail.py 66 56 15% 15-22, 27-107, 117-124
SoftLayer/CLI/loadbal/health.py 40 27 32% 21-63
SoftLayer/CLI/loadbal/list.py 23 14 39% 14-22, 27, 32-52
SoftLayer/CLI/loadbal/members.py 36 22 39% 19-28, 40-57
SoftLayer/CLI/loadbal/ns_detail.py 33 24 27% 15-19, 24-50
SoftLayer/CLI/loadbal/ns_list.py 20 11 45% 14-21, 26, 31-45
SoftLayer/CLI/loadbal/order.py 95 69 27% 15-21, 43-66, 71-79, 87-138, 147-154
SoftLayer/CLI/loadbal/pools.py 105 55 48% 14-16, 21-34, 54-72, 96-122, 135-141, 171-197, 208-213

Lets break the tests down like this:

@allmightyspiff - SoftLayer/managers/load_balancer.py
@FernandoOjeda -SoftLayer/CLI/loadbal/order.py, SoftLayer/CLI/loadbal/ns_list.py, SoftLayer/CLI/loadbal/ns_detail.py
@ATGE - SoftLayer/CLI/loadbal/members.py, SoftLayer/CLI/loadbal/health.py, SoftLayer/CLI/loadbal/detail.py
@caberos - SoftLayer/CLI/loadbal/pools.py, SoftLayer/CLI/loadbal/list.py,

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions