makerequest should be imported from Testing.makerequest instead of Testing.ZopeTestCase.utils.makerequest. Doing the latter also has a side effect: ZOPETESTCASE environment Variable is set to "1" whenever you import something from Testing.ZopeTestCase.
makerequest is also useful outside of test stuff.
makerequest
should be imported fromTesting.makerequest
instead ofTesting.ZopeTestCase.utils.makerequest
. Doing the latter also has a side effect:ZOPETESTCASE
environment Variable is set to"1"
whenever you import something fromTesting.ZopeTestCase
.makerequest
is also useful outside of test stuff.