Commit 30e164e7 authored by Paul Winkler's avatar Paul Winkler

oops, syntax error

parent f9c66181
......@@ -54,14 +54,17 @@ class ZPTRegressions(unittest.TestCase):
# no object is returned when REQUEST is passed.
pt = self.app.pt1
self.assertEqual(pt.document_src(), self.text)
class DummyFileUpload:
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
def test_suite():
......
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