diff options
Diffstat (limited to 'docs/tutorials')
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) |
