Coverage for osm_nbi/osm_vnfm/base_methods.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.3.1, created at 2024-07-02 10:15 +0000

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__author__ = "K Sai Kiran <saikiran.k@tataelxsi.co.in>, Selvi Jayaraman <selvi.j@tataelxsi.co.in>" 

17__date__ = "$12-June-2021 8:30:59$" 

18 

19 

20import logging 

21 

22 

23class BaseMethod: 

24 def __init__(self): 

25 """ 

26 Constructor of the base method 

27 """ 

28 self.logger = logging.getLogger("nbi.engine")