def tearDown(self): """Cleanup stuff after the test.""" ClewnTestCase.tearDown(self) # wait for the python script being debugged to terminate if self.pdb_script: self.pdb_script.wait()
def setUp(self): """Test setup.""" ClewnTestCase.setUp(self) sys.argv.append('--pdb') # start the python script being debugged self.fnull = open(os.devnull, 'w') self.pdb_script = subprocess.Popen( ['python', './foobar.py'], stdout=self.fnull)
def setUp(self): """Test setup.""" ClewnTestCase.setUp(self) sys.argv.append('--simple')
def setUp(self): """Test setup.""" ClewnTestCase.setUp(self) sys.argv.append('--gdb=async')