Esempio n. 1
0
 def tearDown(self):
     mm_cfg.SMTPPORT = self._origport
     mm_cfg.SMTP_MAX_SESSIONS_PER_CONNECTION = self._sessions
     EmailBase.tearDown(self)
Esempio n. 2
0
 def tearDown(self):
     mm_cfg.SMTPPORT = self._origport
     mm_cfg.SMTP_MAX_SESSIONS_PER_CONNECTION = self._sessions
     EmailBase.tearDown(self)
Esempio n. 3
0
 def setUp(self):
     self._origport = mm_cfg.SMTPPORT
     self._sessions = mm_cfg.SMTP_MAX_SESSIONS_PER_CONNECTION
     mm_cfg.SMTPPORT = TESTPORT
     mm_cfg.SMTP_MAX_SESSIONS_PER_CONNECTION = 1
     EmailBase.setUp(self)
Esempio n. 4
0
 def setUp(self):
     self._origport = mm_cfg.SMTPPORT
     self._sessions = mm_cfg.SMTP_MAX_SESSIONS_PER_CONNECTION
     mm_cfg.SMTPPORT = TESTPORT
     mm_cfg.SMTP_MAX_SESSIONS_PER_CONNECTION = 1
     EmailBase.setUp(self)