Exemplo n.º 1
0
 def tearDown(self):
     mm_cfg.SMTPPORT = self._origport
     mm_cfg.SMTP_MAX_SESSIONS_PER_CONNECTION = self._sessions
     EmailBase.tearDown(self)
Exemplo n.º 2
0
 def tearDown(self):
     mm_cfg.SMTPPORT = self._origport
     mm_cfg.SMTP_MAX_SESSIONS_PER_CONNECTION = self._sessions
     EmailBase.tearDown(self)
Exemplo 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)
Exemplo 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)