From d85ac83b981cce853790c1b58bfcab0f0d7a003a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 10 Oct 2009 02:50:42 +0000 Subject: cleanUp is no longer necessary. --- .../bfgwiki/src/authorization/tutorial/tests.py | 24 ---------------------- .../bfgwiki/src/viewdecorators/tutorial/tests.py | 24 ---------------------- docs/tutorials/bfgwiki/src/views/tutorial/tests.py | 24 ---------------------- 3 files changed, 72 deletions(-) (limited to 'docs/tutorials') 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) -- cgit v1.2.3