diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-03-08 20:53:13 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-03-15 11:29:35 +0100 |
commit | 651cdc9b0f0cdf36e636ffb8a1fd90877dc569df (patch) | |
tree | feb7d4198574eb190a80043f4025ad50d5b1667e /src | |
parent | 52ad3a66d2f79ea366379b69cb16db9ae50b9664 (diff) |
pcu.py: Introduce PcuDummy class
It will be used in later commits by BTS without proper PCU control such
as NanoBts.
Change-Id: I37ba38f7d81134e5f0ca28fa684fdb09c753bb04
Diffstat (limited to 'src')
-rw-r--r-- | src/osmo_gsm_tester/pcu.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/osmo_gsm_tester/pcu.py b/src/osmo_gsm_tester/pcu.py index 0eddb06..97d0b92 100644 --- a/src/osmo_gsm_tester/pcu.py +++ b/src/osmo_gsm_tester/pcu.py @@ -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 |