Esempio n. 1
0
 def setUp(self):
     """ setup a basic shell """
     self.shell = Popen('sh',
                        stdin=p.PIPE,
                        stdout=p.PIPE,
                        shell=True,
                        executable='/bin/bash')
     self.cwd = os.getcwd()
Esempio n. 2
0
 def setUp(self):
     """ setup a basic shell """
     self.shell = Popen('sh',
                        stdin=p.PIPE,
                        stdout=p.PIPE,
                        shell=True,
                        executable='/bin/bash')
     self.cwd = os.getcwd()
     super(AsyncProcessTest, self).setUp()