diff options
| author | Karen Dalton <kd@karend.net> | 2015-06-01 14:05:51 -0700 |
|---|---|---|
| committer | Karen Dalton <kd@karend.net> | 2015-06-01 14:05:51 -0700 |
| commit | cd979b7d0e8a9e17d07fd76dd09ad9ea60cd2c9b (patch) | |
| tree | 9a37fc7b596dda3958f76447e6c07b447e208eb5 | |
| parent | 608f955e20723723f33750211bb12debf613819b (diff) | |
| download | pyramid-cd979b7d0e8a9e17d07fd76dd09ad9ea60cd2c9b.tar.gz pyramid-cd979b7d0e8a9e17d07fd76dd09ad9ea60cd2c9b.tar.bz2 pyramid-cd979b7d0e8a9e17d07fd76dd09ad9ea60cd2c9b.zip | |
remove some calls to the testing module and self.config as they are not used
| -rw-r--r-- | docs/quick_tutorial/databases/tutorial/tests.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/docs/quick_tutorial/databases/tutorial/tests.py b/docs/quick_tutorial/databases/tutorial/tests.py index 1e08ef760..4aeb718e6 100644 --- a/docs/quick_tutorial/databases/tutorial/tests.py +++ b/docs/quick_tutorial/databases/tutorial/tests.py @@ -23,11 +23,9 @@ 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 @@ -40,7 +38,6 @@ class WikiViewTests(unittest.TestCase): class WikiFunctionalTests(unittest.TestCase): def setUp(self): - self.config = testing.setUp() from pyramid.paster import get_app app = get_app('development.ini') from webtest import TestApp @@ -49,7 +46,6 @@ class WikiFunctionalTests(unittest.TestCase): def tearDown(self): from .models import DBSession DBSession.remove() - testing.tearDown() def test_it(self): res = self.testapp.get('/', status=200) |
