diff options
| author | Paul Everitt <paul@agendaless.com> | 2013-10-08 14:33:16 -0400 |
|---|---|---|
| committer | Paul Everitt <paul@agendaless.com> | 2013-10-08 14:33:16 -0400 |
| commit | a2b15855bee4893524609a941954c823bfbcec0d (patch) | |
| tree | b158cd48f6c32854911592fb89e6800b243d2c28 /docs/quick_tutorial/unit_testing.rst | |
| parent | 0f1d6c019e796b43ce0061d36d1c5521fbbce7ee (diff) | |
| download | pyramid-a2b15855bee4893524609a941954c823bfbcec0d.tar.gz pyramid-a2b15855bee4893524609a941954c823bfbcec0d.tar.bz2 pyramid-a2b15855bee4893524609a941954c823bfbcec0d.zip | |
Small quick tutorial fixes post conference.
Diffstat (limited to 'docs/quick_tutorial/unit_testing.rst')
| -rw-r--r-- | docs/quick_tutorial/unit_testing.rst | 2 |
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*, |
