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