diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/MyProject/myproject/tests.py | 6 |
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() |
