summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial/unit_testing.rst
diff options
context:
space:
mode:
authorPaul Everitt <paul@agendaless.com>2013-09-25 09:27:43 -0400
committerPaul Everitt <paul@agendaless.com>2013-09-25 09:27:43 -0400
commit187104fd81418beeb51592913041d9751bafe08d (patch)
treef87f0f64b9fdab8aacc06c96e8e6097a0e25b53e /docs/quick_tutorial/unit_testing.rst
parente2d5f2e4cb489a8a762e010a24fbb4d48780e7df (diff)
downloadpyramid-187104fd81418beeb51592913041d9751bafe08d.tar.gz
pyramid-187104fd81418beeb51592913041d9751bafe08d.tar.bz2
pyramid-187104fd81418beeb51592913041d9751bafe08d.zip
Quick Tutorial: Improve the setup instructions (adapted from Steve Piercy's work), particularly for Windows. Change all the steps to use $VENV/bin prefixes on commands (don't presume that they have done source env/bin/activate).
Diffstat (limited to 'docs/quick_tutorial/unit_testing.rst')
-rw-r--r--docs/quick_tutorial/unit_testing.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/quick_tutorial/unit_testing.rst b/docs/quick_tutorial/unit_testing.rst
index de30ea436..a71ad0097 100644
--- a/docs/quick_tutorial/unit_testing.rst
+++ b/docs/quick_tutorial/unit_testing.rst
@@ -45,9 +45,9 @@ Steps
.. code-block:: bash
- (venv)$ cd ..; cp -r debugtoolbar unit_testing; cd unit_testing
- (venv)$ python setup.py develop
- (venv)$ easy_install nose
+ $ cd ..; cp -r debugtoolbar unit_testing; cd unit_testing
+ $ $VENV/bin/python setup.py develop
+ $ $VENV/bin/easy_install nose
#. Now we write a simple unit test in ``unit_testing/tutorial/tests.py``:
@@ -59,7 +59,7 @@ Steps
.. code-block:: bash
- (venv)$ nosetests tutorial
+ $ $VENV/bin/nosetests tutorial
.
----------------------------------------------------------------------
Ran 1 test in 0.141s