def tearDown(self): JCLTestCase.tearDown(self) self.runner = None sys.argv = [""] account.smtp_default_login = self.smtp_default_login account.smtp_default_password = self.smtp_default_password account.smtp_default_host = self.smtp_default_host account.smtp_default_port = self.smtp_default_port account.smtp_default_tls = self.smtp_default_tls account.smtp_default_ssl = self.smtp_default_ssl MailAccount.default_encoding = self.mail_default_encoding Lang.en.type_globalsmtp_name = self.type_globalsmtp_name
def tearDown(self): JCLTestCase.tearDown(self) if os.path.exists(self.config_file): os.unlink(self.config_file)