summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-11-17 18:13:21 -0500
committerChris McDonough <chrism@plope.com>2010-11-17 18:13:21 -0500
commit20fa5619608f55ab85d431de4d806f7f337c5384 (patch)
treeb094b5035451457bf054e016b9eab1ef31b277e1
parentdbaa08e18d1bf50264faabb6e7dfce12f2c0ea71 (diff)
downloadpyramid-20fa5619608f55ab85d431de4d806f7f337c5384.tar.gz
pyramid-20fa5619608f55ab85d431de4d806f7f337c5384.tar.bz2
pyramid-20fa5619608f55ab85d431de4d806f7f337c5384.zip
remove unused code
-rw-r--r--pyramid/tests/test_integration.py29
1 files changed, 0 insertions, 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)