octavia/octavia/tests/unit
Hervé Beraud 6cce3a72ae Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Also added and enabled a hacking check that would have caught this.

Change-Id: Idb10f84fd32c50db24f844352cb85de452181439
2020-06-09 11:25:00 -04:00
..
amphorae Remove all usage of six library 2020-03-18 17:15:26 -04:00
api Use unittest.mock instead of mock 2020-06-09 11:25:00 -04:00
certificates Fix Octavia unit tests for python 3.8 2020-04-20 10:57:21 -07:00
cmd Remove the dependency on the "mock" package 2020-02-17 14:55:19 -08:00
common Merge "Add TLS version configuration for pools" 2020-06-04 07:04:51 +00:00
compute Select the right lb_network_ip interface using AZ 2020-02-25 01:30:06 +00:00
controller Fix healthmanager not update amphora health when LB disable 2020-04-23 17:38:41 +07:00
db Add license for empty __init__.py 2018-03-14 07:02:56 +09:00
network Validate resource access when creating loadbalancer or member 2020-04-22 16:19:38 +12:00
volume Remove the dependency on the "mock" package 2020-02-17 14:55:19 -08:00
__init__.py Add license for empty __init__.py 2018-03-14 07:02:56 +09:00
base.py Don't register cli opts on import 2020-04-07 00:06:44 +00:00
test_hacking.py Update hacking for Python3 2020-03-30 10:03:05 +00:00
test_opts.py Updates Octavia to support octavia-lib 2019-03-07 14:40:22 +01:00
test_version.py Remove the dependency on the "mock" package 2020-02-17 14:55:19 -08:00