def make_config(self): config = TestCaseWithTestDB.make_config(self) # now add our smtp account acct = config.accounts['test_smtp'] = {} acct['proto'] = 'smtp' acct['username'] = '******' acct['id'] = 'smtp_test' return config
def make_config(self): config = TestCaseWithTestDB.make_config(self) # now add our twitter account acct = config.accounts['test_twitter'] = {} acct['id'] = 'twitter' acct['proto'] = 'twitter' acct['username'] = '******' return config
def make_config(self): config = TestCaseWithTestDB.make_config(self) # now clobber it with a fake imap account which has our test user. config.accounts.clear() acct = config.accounts['test'] = {} acct['proto'] = 'imap' acct['id'] = 'imap_test' acct['username'] = self.my_addy return config
def make_config(self): config = TestCaseWithTestDB.make_config(self) # now clobber it with out smtp account config.accounts = {} acct = config.accounts['test'] = {} acct['proto'] = 'smtp' acct['username'] = '******' acct['id'] = 'smtp_test' acct['host'] = SMTP_SERVER_HOST acct['port'] = SMTP_SERVER_PORT acct['ssl'] = False return config
def make_config(self): config = TestCaseWithTestDB.make_config(self) # now clobber it with our imap account config.accounts.clear() acct = config.accounts['test'] = {} acct['proto'] = 'imap' acct['username'] = self.imap_server._username acct['password'] = self.imap_server._password acct['id'] = 'imap_test' acct['host'] = IMAP_SERVER_HOST acct['port'] = IMAP_SERVER_PORT acct['ssl'] = False return config