diff options
| author | Karen Dalton <kd@karend.net> | 2015-06-01 14:22:01 -0700 |
|---|---|---|
| committer | Karen Dalton <kd@karend.net> | 2015-06-01 14:22:01 -0700 |
| commit | 3da8dd06f1f5ac41b548755f68906d4a0934e3b2 (patch) | |
| tree | 36ad5fc435109db5263fb562e0bc0ba79a9755a6 /docs | |
| parent | cd979b7d0e8a9e17d07fd76dd09ad9ea60cd2c9b (diff) | |
| download | pyramid-3da8dd06f1f5ac41b548755f68906d4a0934e3b2.tar.gz pyramid-3da8dd06f1f5ac41b548755f68906d4a0934e3b2.tar.bz2 pyramid-3da8dd06f1f5ac41b548755f68906d4a0934e3b2.zip | |
add self.config = testing.setUp and testing.tearDown back to WikiViewTests as it is a standard pattern for view tests
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/quick_tutorial/databases/tutorial/tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/quick_tutorial/databases/tutorial/tests.py b/docs/quick_tutorial/databases/tutorial/tests.py index 4aeb718e6..11e747d15 100644 --- a/docs/quick_tutorial/databases/tutorial/tests.py +++ b/docs/quick_tutorial/databases/tutorial/tests.py @@ -23,9 +23,11 @@ def _initTestingDB(): class WikiViewTests(unittest.TestCase): def setUp(self): self.session = _initTestingDB() + self.config = testing.setUp() def tearDown(self): self.session.remove() + testing.tearDown() def test_wiki_view(self): from tutorial.views import WikiViews |
