From 20fa5619608f55ab85d431de4d806f7f337c5384 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 17 Nov 2010 18:13:21 -0500 Subject: remove unused code --- pyramid/tests/test_integration.py | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/pyramid/tests/test_integration.py b/pyramid/tests/test_integration.py index a502c2ff6..c70985e79 100644 --- a/pyramid/tests/test_integration.py +++ b/pyramid/tests/test_integration.py @@ -7,8 +7,6 @@ from pyramid.view import static from zope.interface import Interface -from pyramid import testing - class INothing(Interface): pass @@ -67,33 +65,6 @@ class TestStaticApp(unittest.TestCase): class IntegrationBase(unittest.TestCase): root_factory = None - ## def setUp(self): - ## import sys - ## import twill - ## from twill.commands import config as twillconfig - ## # for benefit of Jython, which cannot import the subprocess module, we - ## # configure twill to not use tidy - ## twillconfig('use_tidy', False) - ## twillconfig('require_tidy', False) - ## from pyramid.configuration import Configurator - ## config = Configurator(root_factory=self.root_factory) - ## config.load_zcml(self.config) - ## twill.add_wsgi_intercept('localhost', 6543, config.make_wsgi_app) - ## if sys.platform is 'win32': # pragma: no cover - ## out = open('nul:', 'wb') - ## else: - ## out = open('/dev/null', 'wb') - ## twill.set_output(out) - ## self.config = testing.setUp(registry=config.registry) - - ## def tearDown(self): - ## import twill - ## import twill.commands - ## twill.commands.reset_browser() - ## twill.remove_wsgi_intercept('localhost', 6543) - ## twill.set_output(None) - ## testing.tearDown() - def setUp(self): from pyramid.configuration import Configurator config = Configurator(root_factory=self.root_factory) -- cgit v1.2.3