comparison tests/test_ttw.txt @ 68:e62d2fddb275

use the actual paths i mean
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 02 Mar 2012 09:36:58 -0800
parents cf03c3f2f98e
children 10f343c483ee
comparison
equal deleted inserted replaced
67:cf03c3f2f98e 68:e62d2fddb275
59 59
60 Make a virtualenv to install it in:: 60 Make a virtualenv to install it in::
61 61
62 >>> tmpdir = tempfile.mkdtemp() 62 >>> tmpdir = tempfile.mkdtemp()
63 >>> venv = create_virtualenv(tmpdir) 63 >>> venv = create_virtualenv(tmpdir)
64 >>> code = subprocess.call([venv.python, '-c', 'import helloworld']) 64 >>> code = subprocess.call([venv.python, '-c', 'import helloworld'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
65 >>> code 65 >>> code
66 1 66 1
67 >>> shutil.rmtree(tmpdir) 67 >>> shutil.rmtree(tmpdir)
68 68
69 Shut down the server:: 69 Shut down the server::