pcu.py: Introduce PcuDummy class

It will be used in later commits by BTS without proper PCU control such
as NanoBts.

Change-Id: I37ba38f7d81134e5f0ca28fa684fdb09c753bb04
This commit is contained in:
Pau Espin 2018-03-08 20:53:13 +01:00
parent 52ad3a66d2
commit 651cdc9b0f
1 changed files with 11 additions and 0 deletions

View File

@ -46,4 +46,15 @@ class Pcu(log.Origin, metaclass=ABCMeta):
"""Start the PCU. Must be implemented by subclass."""
pass
#------------------------------------------------------------------------------
class PcuDummy(Pcu):
"""PCU for BTS without proper PCU control"""
def __init__(self, suite_run, bts, conf):
super().__init__(suite_run, bts, conf, 'PcuDummy')
def start(self):
pass
# vim: expandtab tabstop=4 shiftwidth=4