Exclude files from coverage check, improve overall result

Added new files to the "omit" section of the coverage testing. These
files have a current 0% of testing coverage. The list include:
* The initial cmd commands for the different Neutron agents.
* The OVN mechanism driver OVSDB API definition.
* The Loki plugin, used only in tempest tests.

Change-Id: Ifb43e3e0b69fac21f49096153de11016e0c8e581
This commit is contained in:
Rodolfo Alonso Hernandez 2024-03-04 16:39:47 +00:00 committed by Rodolfo Alonso
parent 729937f6d2
commit 09412db90b
1 changed files with 14 additions and 1 deletions

View File

@ -1,7 +1,20 @@
[run]
branch = True
source = neutron
omit = neutron/tests/*
omit =
neutron/tests/*
neutron/cmd/eventlet/agents/dhcp.py
neutron/cmd/eventlet/agents/l3.py
neutron/cmd/eventlet/agents/metadata.py
neutron/cmd/eventlet/agents/ovn_metadata.py
neutron/cmd/eventlet/agents/ovn_neutron_agent.py
neutron/cmd/eventlet/plugins/linuxbridge_neutron_agent.py
neutron/cmd/eventlet/plugins/macvtap_neutron_agent.py
neutron/cmd/eventlet/plugins/ovs_neutron_agent.py
neutron/cmd/eventlet/plugins/sriov_nic_neutron_agent.py
neutron/cmd/pd_notify.py
neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/api.py
neutron/services/loki/loki_plugin.py
[report]
ignore_errors = True