def setUp(self): should_close_fds = sys.platform.startswith('win32') == False self.p = subprocess.Popen([ testconf.get_exe(), "chrome-extension://fmpfihjoladdfajbnkdfocnbcehjpogi" ], stdin=subprocess.PIPE, stdout=subprocess.PIPE, close_fds=should_close_fds, stderr=None) print("\nRunning %s on PID %d" % (testconf.get_exe(), self.p.pid)) if "HWDEBUG" in os.environ: self.instruct("Start testing")
def open_conn(self): should_close_fds = sys.platform.startswith('win32') == False self.p = subprocess.Popen(testconf.get_exe(), stdin=subprocess.PIPE, stdout=subprocess.PIPE, close_fds=should_close_fds, stderr=None) print("Running native component on PID %d" % self.p.pid)
def setUpClass(cls): should_close_fds = sys.platform.startswith('win32') == False cls.p = subprocess.Popen(testconf.get_exe(), stdin=subprocess.PIPE, stdout=subprocess.PIPE, close_fds=should_close_fds, stderr=None) print('Running native component on PID %d' % cls.p.pid)
def setUpClass(cls): should_close_fds = sys.platform.startswith("win32") == False cls.p = subprocess.Popen( testconf.get_exe(), stdin=subprocess.PIPE, stdout=subprocess.PIPE, close_fds=should_close_fds, stderr=None ) print("Running native component on PID %d" % cls.p.pid)
def setUp(self): should_close_fds = sys.platform.startswith('win32') == False; self.p = subprocess.Popen(testconf.get_exe(), stdin=subprocess.PIPE, stdout=subprocess.PIPE, close_fds=should_close_fds, stderr=None) print("\nRunning native component on PID %d" % self.p.pid)