From 1705a51195a6e54c242c6339996ff48501219223 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 10 Nov 2009 05:11:26 +0000 Subject: More setup and teardown. --- docs/narr/MyProject/myproject/tests.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') 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() -- cgit v1.2.3