ovn-bgp-agent/ovn_bgp_agent/tests/unit/utils/__init__.py
Lucas Alvares Gomes a1c18eb350 Add unittests to linux_net
* Add unittests to the utils/linux_net.py module
* Re-use set_device_status() in multiple ensure_*() methods
* A TODO was left for unittesting ensure_routing_table_for_bridge() as
  the method could benefit from some refactoring before we add the tests
  and will be done in a separated patch.
* Fix InvalidPortIP() argument that was expecting a kwargs
* Set the minimum test coverage to 30% (right now it's 34%) in an
  attempt to avoid new code being included that will lower the coverage

Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
Change-Id: I00a98dae35eda1cbbe9a2db442c66546b4b77657
2022-03-04 11:48:22 +00:00

0 lines
Python