def createDatabase(s): ls = LoginSystem(store=s) ls.installOn(s) acc = ls.addAccount(u"test", u"example.com", "asdf") ss = acc.avatars.open() gph = GarbageProtocolHandler(store=ss, garbage=7) gph.installOn(ss)
def createDatabase(s): ls = LoginSystem(store=s) ls.installOn(s) acc = ls.addAccount(*CREDENTIALS) ss = acc.avatars.open() gph = GarbageProtocolHandler(store=ss, garbage=GARBAGE_LEVEL) gph.installOn(ss)
def createDatabase(s): ls = LoginSystem(store=s) ls.installOn(s) acc = ls.addAccount('test', 'example.com', 'asdf') ss = acc.avatars.open() gph = GarbageProtocolHandler(store=ss, garbage=7) gph.installOn(ss)
def createDatabase(s): ls = LoginSystem(store=s) ls.installOn(s) acc = ls.addAccount(*CREDENTIALS) ss = acc.avatars.open() gph = GarbageProtocolHandler(store=ss, garbage=GARBAGE_LEVEL) gph.installOn(ss)
def createDatabase(s): """ Create an account in the given store and install a MailTransferAgent on both the given store and the substore for that account. """ loginSystem = LoginSystem(store=s) loginSystem.installOn(s) mta = MailTransferAgent(store=s) mta.installOn(s)
def createDatabase(s): loginSystem = LoginSystem(store=s) loginSystem.installOn(s) sip = SIPServer(store=s) sip.startService() account = loginSystem.addAccount(u'testuser', u'localhost', None) subStore = account.avatars.open() VoicemailDispatcher(store=subStore, localHost='localhost').installOn(subStore) sip.stopService()
def createDatabase(s): """ Create an account in the given store and install a MailTransferAgent on both the given store and the substore for that account. """ Scheduler(store=s).installOn(s) loginSystem = LoginSystem(store=s) loginSystem.installOn(s) mta = MailTransferAgent(store=s) mta.installOn(s) account = loginSystem.addAccount(u'testuser', u'localhost', None) subStore = account.avatars.open() SubScheduler(store=subStore).installOn(subStore) mda = MailTransferAgent(store=subStore) mda.installOn(subStore)
def createDatabase(s): """ Create an account in the given store and install a MailTransferAgent on both the given store and the substore for that account. """ Scheduler(store=s).installOn(s) loginSystem = LoginSystem(store=s) loginSystem.installOn(s) mta = MailTransferAgent(store=s) mta.installOn(s) account = loginSystem.addAccount(u'testuser', u'localhost', None) subStore = account.avatars.open() SubScheduler(store=subStore).installOn(subStore) mda = MailTransferAgent(store=subStore) mda.installOn(subStore)