clearly mark not yet implemented test api

Change-Id: Ie0781e618ed49ac31685d69b860e77d791ec5300
This commit is contained in:
Neels Hofmeyr 2017-04-08 19:27:42 +02:00
parent 3c6673aa8c
commit eafdbb2fb2
2 changed files with 4 additions and 0 deletions

View File

@ -109,9 +109,11 @@ class Modem(log.Origin):
def connect(self, nitb):
'set the modem up to connect to MCC+MNC from NITB config'
self.log('connect to', nitb)
self.err('Modem.connect() is still a fake and does not do anything')
def sms_send(self, msisdn):
self.log('send sms to MSISDN', msisdn)
self.err('Modem.sms_send() is still a fake and does not do anything')
return 'todo'
# vim: expandtab tabstop=4 shiftwidth=4

View File

@ -98,9 +98,11 @@ class OsmoNitb(log.Origin):
return all([self.imsi_attached(m.imsi()) for m in modems])
def imsi_attached(self, imsi):
self.err('OsmoNitb.imsi_attached() is still fake and does not do anything')
return random.choice((True, False))
def sms_received(self, sms):
self.err('OsmoNitb.sms_received() is still fake and does not do anything')
return random.choice((True, False))
def running(self):