Code Coverage

Cobertura Coverage Report > osm_nbi.osm_vnfm >

base_methods.py

Trend

Classes100%
 
Lines100%
 
Conditionals100%
 

File Coverage summary

NameClassesLinesConditionals
base_methods.py
100%
1/1
100%
6/6
100%
0/0

Coverage Breakdown by Class

NameLinesConditionals
base_methods.py
100%
6/6
N/A

Source

osm_nbi/osm_vnfm/base_methods.py
1 # Copyright 2021 K Sai Kiran (Tata Elxsi)
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #    http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 # implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 1 __author__ = "K Sai Kiran <saikiran.k@tataelxsi.co.in>, Selvi Jayaraman <selvi.j@tataelxsi.co.in>"
17 1 __date__ = "$12-June-2021 8:30:59$"
18
19
20 1 import logging
21
22
23 1 class BaseMethod:
24
25 1     def __init__(self):
26         """
27         Constructor of the base method
28         """
29 1         self.logger = logging.getLogger("nbi.engine")