summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-11-10 05:11:26 +0000
committerChris McDonough <chrism@agendaless.com>2009-11-10 05:11:26 +0000
commit1705a51195a6e54c242c6339996ff48501219223 (patch)
treeea7090e58d79dbc72130db725d032455f390e13e /docs
parentc634e0349051bcb4cebe9203613c4bb9c0d89acd (diff)
downloadpyramid-1705a51195a6e54c242c6339996ff48501219223.tar.gz
pyramid-1705a51195a6e54c242c6339996ff48501219223.tar.bz2
pyramid-1705a51195a6e54c242c6339996ff48501219223.zip
More setup and teardown.
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/MyProject/myproject/tests.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/narr/MyProject/myproject/tests.py b/docs/narr/MyProject/myproject/tests.py
index 3a1c62efc..8b3fcc73b 100644
--- a/docs/narr/MyProject/myproject/tests.py
+++ b/docs/narr/MyProject/myproject/tests.py
@@ -3,6 +3,12 @@ import unittest
from repoze.bfg import testing
class ViewTests(unittest.TestCase):
+ def setUp(self):
+ testing.setUp()
+
+ def tearDown(self):
+ testing.tearDown()
+
def test_my_view(self):
from myproject.views import my_view
context = testing.DummyModel()