[Checkins] SVN: zope.app.publication/branches/sylvain-testlayers/src/zope/app/publication/tests/test_http.py Remove PlacelessSetup again.
Sylvain Viollon
sylvain at infrae.com
Tue Apr 13 08:22:42 EDT 2010
Log message for revision 110782:
Remove PlacelessSetup again.
Changed:
U zope.app.publication/branches/sylvain-testlayers/src/zope/app/publication/tests/test_http.py
-=-
Modified: zope.app.publication/branches/sylvain-testlayers/src/zope/app/publication/tests/test_http.py
===================================================================
--- zope.app.publication/branches/sylvain-testlayers/src/zope/app/publication/tests/test_http.py 2010-04-13 12:21:23 UTC (rev 110781)
+++ zope.app.publication/branches/sylvain-testlayers/src/zope/app/publication/tests/test_http.py 2010-04-13 12:22:41 UTC (rev 110782)
@@ -24,7 +24,6 @@
import zope.app.publication.http
from zope import component
-from zope.app.testing.placelesssetup import PlacelessSetup
class I(Interface):
pass
@@ -42,7 +41,7 @@
self.context.spammed += 1
-class Test(PlacelessSetup, TestCase):
+class Test(TestCase):
# Note that zope publication tests cover all of the code but callObject
def test_callObject(self):
@@ -51,7 +50,7 @@
request.method = 'SPAM'
component.provideAdapter(V, (I, IHTTPRequest), Interface, name='SPAM')
-
+
ob = C()
pub.callObject(request, ob)
self.assertEqual(ob.spammed, 1)
More information about the checkins
mailing list