Пример #1
0
 def setUp(self):
     PyPIRCCommandTestCase.setUp(self)
     # patching the password prompt
     self._old_getpass = getpass.getpass
     def _getpass(prompt):
         return 'password'
     getpass.getpass = _getpass
Пример #2
0
 def setUp(self):
     PyPIRCCommandTestCase.setUp(self)
     self.old_path = os.getcwd()
Пример #3
0
 def setUp(self):
     PyPIRCCommandTestCase.setUp(self)
     self.old_path = os.getcwd()