blob: db2d43f292fdc874cc6de5da6c3223b0f81c041a [file] [log] [blame]
#!/usr/bin/env python
import common
import sys
class FailModem(common.Modem):
def GetStatus(self, *args, **kwargs):
raise common.RandomError
common.setup()
mm = common.ModemManager(common.bus, common.OCMM)
tm0 = FailModem(mm, '/TestModem/2')
common.cleanup(lambda: sys.exit(0))
common.run()