def test_refresh(self): """ Run 'refresh.py' as a spawned process and test return value, The python source is stored into a temporary test file before being executed in a subprocess. """ store_resource('EnthoughtBase', os.path.join('enthought', 'util','tests', 'refresh.py'), self.tmpname) retcode = subprocess.call([sys.executable, self.tmpname], cwd=os.path.dirname(self.tmpname)) self.assertEqual(retcode, 0)
def test_version_registry(self): """ Run 'check_version_registry.py' as a spawned process and test return value, The python source is stored into a temporary test file before being executed in a subprocess. """ store_resource('AppTools', os.path.join('enthought', 'persistence','tests', 'check_version_registry.py'), self.tmpname) retcode = subprocess.call([sys.executable, self.tmpname]) self.assertEqual(retcode, 0)
def test_version_registry(self): """ Run 'check_version_registry.py' as a spawned process and test return value, The python source is stored into a temporary test file before being executed in a subprocess. """ store_resource( 'AppTools', os.path.join('enthought', 'persistence', 'tests', 'check_version_registry.py'), self.tmpname) retcode = subprocess.call([sys.executable, self.tmpname]) self.assertEqual(retcode, 0)
def test_refresh(self): """ Run 'refresh.py' as a spawned process and test return value, The python source is stored into a temporary test file before being executed in a subprocess. """ store_resource( 'EnthoughtBase', os.path.join('enthought', 'util', 'tests', 'refresh.py'), self.tmpname) retcode = subprocess.call([sys.executable, self.tmpname], cwd=os.path.dirname(self.tmpname)) self.assertEqual(retcode, 0)