summaryrefslogtreecommitdiff
path: root/docs/quick_tutorial/unit_testing.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2013-10-14 11:23:24 +0200
committerChris McDonough <chrism@plope.com>2013-10-14 11:23:24 +0200
commita87c1972615f98e99b06f9ea335a12104f67e6e0 (patch)
tree4b9f81e2ccf3a3590e539808b72ca443778b3359 /docs/quick_tutorial/unit_testing.rst
parent4223668ee4c0d0ac0e981f3241d56ffa805ba6d1 (diff)
parent55917fe91b4344008da352e262dc2135629405d6 (diff)
downloadpyramid-a87c1972615f98e99b06f9ea335a12104f67e6e0.tar.gz
pyramid-a87c1972615f98e99b06f9ea335a12104f67e6e0.tar.bz2
pyramid-a87c1972615f98e99b06f9ea335a12104f67e6e0.zip
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/quick_tutorial/unit_testing.rst')
-rw-r--r--docs/quick_tutorial/unit_testing.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/quick_tutorial/unit_testing.rst b/docs/quick_tutorial/unit_testing.rst
index 73b33c588..ed33f62d7 100644
--- a/docs/quick_tutorial/unit_testing.rst
+++ b/docs/quick_tutorial/unit_testing.rst
@@ -77,7 +77,7 @@ some ``pyramid.testing`` helpers which we use in the test setup and
teardown. Our one test imports the view, makes a dummy request, and sees
if the view returns what we expected.
-The ``tests.HelloWorldViewTests.test_hello_world`` test is a small
+The ``tests.TutorialViewTests.test_hello_world`` test is a small
example of a unit test. First, we import the view inside each test. Why
not import at the top, like in normal Python code? Because imports can
cause effects that break a test. We'd like our tests to be in *units*,