Commit f9c66181 authored by Paul Winkler's avatar Paul Winkler

removed call to Zope.startup()

parent d2128c4e
......@@ -8,20 +8,8 @@ Note: Tests require Zope >= 2.7
import unittest
from Testing.makerequest import makerequest
class DummyFileUpload:
def __init__(self, data='', filename='', content_type=''):
self.data = data
self.filename = filename
self.headers = {'content_type': content_type}
def read(self):
return self.data
import Zope
Zope.startup()
from Testing.makerequest import makerequest
class ZPTRegressions(unittest.TestCase):
......@@ -67,7 +55,15 @@ class ZPTRegressions(unittest.TestCase):
pt = self.app.pt1
self.assertEqual(pt.document_src(), self.text)
class DummyFileUpload:
def __init__(self, data='', filename='', content_type=''):
self.data = data
self.filename = filename
self.headers = {'content_type': content_type}
def read(self):
def test_suite():
return unittest.makeSuite(ZPTRegressions)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment