blob: 1d76ce217730f08ef49ee532d55773642055504f [file] [log] [blame] [edit]
#!/usr/bin/env python
import common
import sys
class FailModem(common.Modem):
def ConnectDone(self, old, new, why):
raise common.RandomError
common.setup()
mm = common.ModemManager(common.bus, common.OCMM)
tm0 = FailModem(mm, '/TestModem/3')
common.cleanup(lambda: sys.exit(0))
common.run()