IRC log of #zope for Tuesday, 2013-03-19

*** avoinea has quit IRC00:04
*** J1m has joined #zope00:05
*** menesis has quit IRC00:14
*** nande has joined #zope00:25
*** moo-_- has quit IRC00:28
*** moo-_- has joined #zope00:30
*** alecm_ has joined #zope00:33
*** kosh has joined #zope00:34
*** alecm has quit IRC00:35
*** alecm_ is now known as alecm00:35
*** mindthief414 has quit IRC00:44
*** mcdonc has quit IRC00:50
*** mcdonc has joined #zope01:01
*** m8 has quit IRC01:07
*** paltas has quit IRC01:15
*** mindthief414 has joined #zope01:52
*** _mup_ has quit IRC02:00
*** _mup_ has joined #zope02:00
*** daMaestro has quit IRC02:02
*** dayne has quit IRC02:03
*** LeoRochael has quit IRC02:17
*** fgs has quit IRC02:18
*** fgs has joined #zope02:19
*** J1m has quit IRC02:19
*** RichyB has quit IRC02:34
*** pumazi has joined #zope02:51
*** tiwula has quit IRC02:57
*** mcdonc has quit IRC03:10
*** tiwula has joined #zope03:18
*** nueces has quit IRC03:39
*** nande has quit IRC03:49
*** J1m has joined #zope04:25
*** pumazi has left #zope04:26
*** nande has joined #zope04:27
*** J1m has quit IRC04:36
*** benbangert has quit IRC04:55
*** benbangert has joined #zope04:55
*** fdrake has joined #zope05:15
*** mindthief414 has quit IRC05:42
*** kosh has quit IRC06:57
*** __mac__ has joined #zope07:17
*** __mac__ has quit IRC07:40
*** zenwryly has quit IRC07:44
*** __mac__ has joined #zope07:51
*** tiwula has quit IRC07:58
*** __mac__ has quit IRC08:05
*** mitchell`off has quit IRC08:07
*** mitchell` has joined #zope08:07
*** zagy has joined #zope08:15
*** zagy has quit IRC08:24
*** mindthief414 has joined #zope08:26
*** __mac__ has joined #zope08:31
*** agroszer has joined #zope09:11
*** tmog has joined #zope09:34
*** zagy has joined #zope09:44
*** avoinea has joined #zope09:45
*** mindthief414 has quit IRC10:12
*** menesis has joined #zope10:23
*** giacomos has joined #zope10:24
*** nande has quit IRC10:29
*** thetet has joined #zope10:43
*** goschtl has joined #zope10:50
*** thetet has quit IRC11:38
*** thetet has joined #zope11:40
*** AdamDangoor has joined #zope11:43
*** mwilkes|away is now known as MatthewWilkes11:55
*** evilbungle has joined #zope11:58
*** thetet has quit IRC12:04
*** thetet has joined #zope12:04
*** RichyB has joined #zope12:11
*** moumoutt1 has joined #zope12:19
*** yvl_ has joined #zope12:19
*** gawel_ has joined #zope12:20
*** goschtl has quit IRC12:20
*** moumoutte has quit IRC12:20
*** yvl has quit IRC12:20
*** gawel has quit IRC12:20
*** KageSenshi has quit IRC12:20
*** KageSenshi has joined #zope12:20
*** gawel_ is now known as gawel12:21
*** fdrake has quit IRC12:45
*** goschtl has joined #zope12:47
*** nueces has joined #zope12:56
*** __mac__ has quit IRC13:04
*** __mac__ has joined #zope13:14
mgedminany users of z3c.etestbrowser or zope.app.wsgi.testlayer?13:17
*** eperez has joined #zope13:26
*** giacomos has quit IRC13:48
*** sp0cksbeard has joined #zope14:18
*** nande has joined #zope14:45
*** yvl_ has quit IRC15:05
*** yvl has joined #zope15:05
*** tmog has quit IRC15:08
*** sunew has joined #zope15:08
*** fdrake has joined #zope15:12
*** maurits has joined #zope15:15
*** maurits has quit IRC15:15
*** maurits has joined #zope15:16
*** giacomos has joined #zope15:16
*** J1m has joined #zope15:17
*** tmog has joined #zope15:26
*** sunew has quit IRC15:44
*** sunew has joined #zope15:49
__mac__mgedmin: here15:51
__mac__mgedmin: at least z3c.etestbrowser on WSGI15:52
mgedminwsgi, exactly the thing I'm interested in15:52
mgedminzope.app.wsgi defines a BrowserLayer test layer15:52
mgedminit used to extend zope.testbrowser.wsgi.Layer15:52
mgedminbut it doesn't any more since zope.app.wsgi 4.0.0a315:53
mgedminI discovered that this breaks z3c.etestbrowser's testsuite a bit15:53
mgedminand am wondering about other possible users15:53
*** sp0cksbeard has quit IRC15:54
__mac__mgedmin: I'm only using z3c.etestbrowser.wsgi.ExtendedTestBrowser which does not need zope.app.wsgi15:56
mgedminyes, it needs zope.testbrowser.wsgi15:56
mgedminspecifically, it needs zope.testbrowser.wsgi.Layer.get_app()15:57
mgedminor you have to pass your own wsgi_app explicitly to ExtendedTestBrowser(wsgi_app=...)15:57
*** sp0cksbeard has joined #zope15:57
__mac__mgedmin: yes, I've seen it in the code15:57
mgedminzope.app.wsgi.testlayer.BrowserLayer used to install that global app15:57
mgedminnow it doesn't any more15:57
mgedminand I'm wondering if anybody cares15:57
__mac__mgedmin: I think the module global _APP_UNDER_TEST was a bad idea, I'd be happy to get rid of it15:59
__mac__mgedmin: but witch test of z3c.etestbrowser needs this variable?16:00
mgedminwsgi.txt16:00
mgedminI fixed it in master, haven't pushed yet16:00
mgedminthe test was dirt simple: set up a BrowserLayer using some ftesting.zcml, instantiate wsgi.ExtendedTestBrowser(), try to use it16:00
mgedminand relied on the global app16:01
mgedminI made it instantiate the app explicitly in doctest setUp and pass it to ExtendedTestBrowser(wsgi_app=...)16:01
*** tmog has quit IRC16:03
__mac__mgedmin: I wondered not to see any changes on github16:03
*** tmog has joined #zope16:04
mgedminI hadn't made up my mind whether the fix was correct, or if I should instead restore BBB in zope.app.wsgi16:04
__mac__mgedmin: I think the app could be stored on the layer, there is no need to have it module global, this way z3c.etestbrowser should not be affected16:05
mgedminI don't think a running test has access to its layer...16:06
*** thetet has quit IRC16:07
__mac__mgedmin: the layer is stored on the test class, so self.layer can be used to access the Layer16:10
mgedminDocFileSuite()16:10
__mac__mgedmin: DocFileSuite can be instructed to push the layer into the globals of the test16:11
mgedminyes16:11
__mac__mgedmin: After looking a bit into zope.testbrowser.wsgi.Layer I've seen hat storing the WSGI app on the Layer is no solution because get_app is a classmethod, so having the app on the layer class or in the module makes no difference16:13
__mac__mgedmin: I suspect the whole layer and browser integration needs to be refactored or kept as it is16:14
*** sp0cksbeard has quit IRC16:41
*** sp0cksbeard has joined #zope16:48
*** kosh has joined #zope16:49
*** sp0cksbeard has quit IRC16:50
*** sp0cksbeard has joined #zope16:50
*** daMaestro has joined #zope16:56
*** __mac__ has quit IRC17:10
*** zagy has quit IRC17:11
*** __mac__ has joined #zope17:16
*** mcdonc has joined #zope17:17
*** calvinhp has joined #zope17:18
*** mr_jolly has joined #zope17:20
*** calvinhp_ has quit IRC17:21
*** tiwula has joined #zope17:29
*** mr_jolly has quit IRC17:29
*** avoinea has quit IRC17:34
*** mcdonc has quit IRC17:37
*** dayne has joined #zope17:40
*** goschtl has quit IRC17:41
*** avoinea has joined #zope17:47
*** mr_jolly has joined #zope17:51
*** lane_ has joined #zope17:54
*** __mac__ has quit IRC17:55
*** zagy has joined #zope17:55
*** supton has joined #zope17:56
*** zagy has quit IRC17:57
*** tiwula has quit IRC17:58
*** lane__ has joined #zope17:59
*** mr_jolly has quit IRC18:00
*** lane_ has quit IRC18:03
*** tmog has quit IRC18:03
*** mr_jolly has joined #zope18:05
*** sunew has quit IRC18:08
*** RichyB has quit IRC18:13
*** sunew has joined #zope18:17
*** evilbungle has quit IRC18:22
*** mr_jolly has quit IRC18:24
*** sunew has quit IRC18:24
*** RichyB has joined #zope18:26
*** kosh has quit IRC18:26
*** LeoRochael has joined #zope18:28
*** __mac__ has joined #zope18:30
*** mcdonc has joined #zope18:32
*** mindthief414 has joined #zope18:33
*** jham_ has joined #zope18:36
*** jham has quit IRC18:36
*** calvinhp has quit IRC18:36
*** calvinhp has joined #zope18:37
*** dayne has quit IRC18:40
*** chaoflow has quit IRC18:42
*** MrTango has joined #zope18:43
*** agroszer has quit IRC18:44
*** chaoflow has joined #zope18:50
*** dayne has joined #zope18:56
*** __mac__ has quit IRC19:01
*** LeoRochael has quit IRC19:09
*** giacomos has quit IRC19:10
*** supton_ has joined #zope19:26
*** supton has quit IRC19:29
*** supton_ is now known as supton19:29
*** maurits has quit IRC19:40
*** nande has quit IRC19:44
*** avoinea1 has joined #zope20:02
*** avoinea1 has quit IRC20:03
*** agroszer has joined #zope20:06
*** AdamDangoor has quit IRC20:14
*** lane__ has quit IRC20:15
*** agroszer has quit IRC20:20
*** eperez has quit IRC20:24
*** MatthewWilkes is now known as mwilkes|away20:37
*** m8 has joined #zope20:52
*** kosh has joined #zope21:00
*** tiwula has joined #zope21:11
*** tiwula has quit IRC21:11
*** tiwula has joined #zope21:14
*** MrTango has quit IRC21:24
*** __mac__ has joined #zope21:25
*** Spanktar has joined #zope21:39
*** sunew has joined #zope21:44
*** paltas has joined #zope21:57
*** benji has quit IRC22:00
*** benji has joined #zope22:02
*** avoinea has quit IRC22:03
*** benji has quit IRC22:05
*** benji has joined #zope22:13
*** thetet has joined #zope22:24
*** mcdonc_ has joined #zope22:29
*** mcdonc has quit IRC22:31
*** nueces has quit IRC22:32
*** nueces has joined #zope22:35
*** sunew has quit IRC22:39
*** nueces has quit IRC22:45
*** __mac__ has quit IRC23:00
*** mcdonc_ has quit IRC23:22
*** betabug has quit IRC23:25
*** sp0cksbeard has quit IRC23:26
*** fdrake has quit IRC23:31
*** eperez has joined #zope23:32
*** mindthief414 has quit IRC23:32
*** eperez has quit IRC23:33
*** mwilkes|away is now known as MatthewWilkes23:36

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!