summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-10-10 02:50:42 +0000
committerChris McDonough <chrism@agendaless.com>2009-10-10 02:50:42 +0000
commitd85ac83b981cce853790c1b58bfcab0f0d7a003a (patch)
tree426221fc338fb81cfb0479ed93ae7ae1f81aecd5
parentdc998c7f89f0e30f2ce29746e0e088e2448c38e7 (diff)
downloadpyramid-d85ac83b981cce853790c1b58bfcab0f0d7a003a.tar.gz
pyramid-d85ac83b981cce853790c1b58bfcab0f0d7a003a.tar.bz2
pyramid-d85ac83b981cce853790c1b58bfcab0f0d7a003a.zip
cleanUp is no longer necessary.
-rw-r--r--docs/tutorials/bfgwiki/src/authorization/tutorial/tests.py24
-rw-r--r--docs/tutorials/bfgwiki/src/viewdecorators/tutorial/tests.py24
-rw-r--r--docs/tutorials/bfgwiki/src/views/tutorial/tests.py24
3 files changed, 0 insertions, 72 deletions
diff --git a/docs/tutorials/bfgwiki/src/authorization/tutorial/tests.py b/docs/tutorials/bfgwiki/src/authorization/tutorial/tests.py
index a1cb42425..fa025787e 100644
--- a/docs/tutorials/bfgwiki/src/authorization/tutorial/tests.py
+++ b/docs/tutorials/bfgwiki/src/authorization/tutorial/tests.py
@@ -41,12 +41,6 @@ class AppmakerTests(unittest.TestCase):
'This is the front page')
class ViewWikiTests(unittest.TestCase):
- def setUp(self):
- testing.cleanUp()
-
- def tearDown(self):
- testing.cleanUp()
-
def test_it(self):
from tutorial.views import view_wiki
context = testing.DummyModel()
@@ -55,12 +49,6 @@ class ViewWikiTests(unittest.TestCase):
self.assertEqual(response.location, 'http://example.com/FrontPage')
class ViewPageTests(unittest.TestCase):
- def setUp(self):
- testing.cleanUp()
-
- def tearDown(self):
- testing.cleanUp()
-
def _callFUT(self, context, request):
from tutorial.views import view_page
return view_page(context, request)
@@ -87,12 +75,6 @@ class ViewPageTests(unittest.TestCase):
class AddPageTests(unittest.TestCase):
- def setUp(self):
- testing.cleanUp()
-
- def tearDown(self):
- testing.cleanUp()
-
def _callFUT(self, context, request):
from tutorial.views import add_page
return add_page(context, request)
@@ -119,12 +101,6 @@ class AddPageTests(unittest.TestCase):
self.assertEqual(page.__parent__, context)
class EditPageTests(unittest.TestCase):
- def setUp(self):
- testing.cleanUp()
-
- def tearDown(self):
- testing.cleanUp()
-
def _callFUT(self, context, request):
from tutorial.views import edit_page
return edit_page(context, request)
diff --git a/docs/tutorials/bfgwiki/src/viewdecorators/tutorial/tests.py b/docs/tutorials/bfgwiki/src/viewdecorators/tutorial/tests.py
index a1cb42425..fa025787e 100644
--- a/docs/tutorials/bfgwiki/src/viewdecorators/tutorial/tests.py
+++ b/docs/tutorials/bfgwiki/src/viewdecorators/tutorial/tests.py
@@ -41,12 +41,6 @@ class AppmakerTests(unittest.TestCase):
'This is the front page')
class ViewWikiTests(unittest.TestCase):
- def setUp(self):
- testing.cleanUp()
-
- def tearDown(self):
- testing.cleanUp()
-
def test_it(self):
from tutorial.views import view_wiki
context = testing.DummyModel()
@@ -55,12 +49,6 @@ class ViewWikiTests(unittest.TestCase):
self.assertEqual(response.location, 'http://example.com/FrontPage')
class ViewPageTests(unittest.TestCase):
- def setUp(self):
- testing.cleanUp()
-
- def tearDown(self):
- testing.cleanUp()
-
def _callFUT(self, context, request):
from tutorial.views import view_page
return view_page(context, request)
@@ -87,12 +75,6 @@ class ViewPageTests(unittest.TestCase):
class AddPageTests(unittest.TestCase):
- def setUp(self):
- testing.cleanUp()
-
- def tearDown(self):
- testing.cleanUp()
-
def _callFUT(self, context, request):
from tutorial.views import add_page
return add_page(context, request)
@@ -119,12 +101,6 @@ class AddPageTests(unittest.TestCase):
self.assertEqual(page.__parent__, context)
class EditPageTests(unittest.TestCase):
- def setUp(self):
- testing.cleanUp()
-
- def tearDown(self):
- testing.cleanUp()
-
def _callFUT(self, context, request):
from tutorial.views import edit_page
return edit_page(context, request)
diff --git a/docs/tutorials/bfgwiki/src/views/tutorial/tests.py b/docs/tutorials/bfgwiki/src/views/tutorial/tests.py
index e25617b7a..1b2ea972a 100644
--- a/docs/tutorials/bfgwiki/src/views/tutorial/tests.py
+++ b/docs/tutorials/bfgwiki/src/views/tutorial/tests.py
@@ -41,12 +41,6 @@ class AppmakerTests(unittest.TestCase):
'This is the front page')
class ViewWikiTests(unittest.TestCase):
- def setUp(self):
- testing.cleanUp()
-
- def tearDown(self):
- testing.cleanUp()
-
def test_it(self):
from tutorial.views import view_wiki
context = testing.DummyModel()
@@ -55,12 +49,6 @@ class ViewWikiTests(unittest.TestCase):
self.assertEqual(response.location, 'http://example.com/FrontPage')
class ViewPageTests(unittest.TestCase):
- def setUp(self):
- testing.cleanUp()
-
- def tearDown(self):
- testing.cleanUp()
-
def _callFUT(self, context, request):
from tutorial.views import view_page
return view_page(context, request)
@@ -87,12 +75,6 @@ class ViewPageTests(unittest.TestCase):
class AddPageTests(unittest.TestCase):
- def setUp(self):
- testing.cleanUp()
-
- def tearDown(self):
- testing.cleanUp()
-
def _callFUT(self, context, request):
from tutorial.views import add_page
return add_page(context, request)
@@ -119,12 +101,6 @@ class AddPageTests(unittest.TestCase):
self.assertEqual(page.__parent__, context)
class EditPageTests(unittest.TestCase):
- def setUp(self):
- testing.cleanUp()
-
- def tearDown(self):
- testing.cleanUp()
-
def _callFUT(self, context, request):
from tutorial.views import edit_page
return edit_page(context, request)