예제 #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()
예제 #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()