neutron/neutron/tests/unit/privileged
Dr. Jens Harbott d01700034a Fix tests involving pyroute2.netlink module
pyroute2 0.6.11 did some further refactoring of their module imports,
so using pyroute2.netlink.some_func() doesn't work anymore. Since we
do "from pyroute2 import netlink" anyway, use the imported module
everywhere.

Also, mock.patch()ing pyroute2.netlink.rtnl.tcmsg.common.tick_in_usec
doesn't work anymore, but also doesn't seem to be necessary for the
tests to succeed, so just drop it.

Closes-Bug: 1978564
Change-Id: Ie06b987f7efbff8057293893e42bee7b682b9ba1
2022-06-14 11:47:56 +00:00
..
agent Fix tests involving pyroute2.netlink module 2022-06-14 11:47:56 +00:00
__init__.py Add netlink-lib to manage conntrack entries 2017-07-27 13:56:40 +07:00