*** povbot has joined #zope3-dev | 18:58 | |
benji | regebro: nope, the model is to emulate a users actions, there are "old style" functional tests if you want to just post forms | 19:31 |
---|---|---|
*** tarek has joined #zope3-dev | 19:32 | |
*** gumpa has quit IRC | 19:33 | |
*** gumpa_afk has joined #zope3-dev | 19:33 | |
regebro | benji: Yeah, but the old style functional tests suck. | 19:35 |
benji | true | 19:35 |
regebro | But it's not a big problem of course, I can post the forms I guess. It does make for more realistic testing. | 19:35 |
regebro | benji: Do you know a good way of making the REQUEST has a SESSION variable with testbrowser? | 19:37 |
benji | what is a "SESSION" variable? | 19:38 |
benji | something in a cookie? | 19:38 |
regebro | No, I think it's a magic request variable that points to the users session data. | 19:39 |
regebro | Zope2 request usually have it, but not when running testbrowser it seems. | 19:39 |
regebro | Neither with the old style funktional tests, but there i understood how to fake it. :) | 19:39 |
benji | sorry, I don't know anything about it. If I you perform the same actions as a user you should get the same results they do. If not, it's likely a bug (in testbrowser or mechanize). | 19:40 |
benji | s/If I/If/ | 19:41 |
regebro | OK. More likely a debug in Zope2s support of this, but fine... | 19:42 |
*** d2m has quit IRC | 19:49 | |
*** d2m has joined #zope3-dev | 19:50 | |
*** harobed_ has quit IRC | 19:54 | |
*** alga has joined #zope3-dev | 19:57 | |
regebro | benji: Yup. Or maybe not a bug, but a missing feature. | 20:06 |
regebro | Fixed it. :) | 20:07 |
benji | what's that? | 20:07 |
regebro | Well, the ZopeTestCase in Zope2 doesn't set up session handling. | 20:10 |
regebro | So I made my test class do it. Works like a charm. :) | 20:10 |
*** dunny has joined #zope3-dev | 20:14 | |
benji | cool | 20:16 |
regebro | Yup. Thanks for the help. | 20:17 |
regebro | See ya! | 20:17 |
*** regebro has left #zope3-dev | 20:17 | |
*** povbot has joined #zope3-dev | 20:33 | |
*** harobed_ has joined #zope3-dev | 20:44 | |
*** povbot has joined #zope3-dev | 20:58 | |
*** tarek has quit IRC | 21:01 | |
*** ignas has quit IRC | 21:19 | |
*** ksmith99 has joined #zope3-dev | 21:40 | |
*** faassen has quit IRC | 21:47 | |
*** gumpa_afk_ has joined #zope3-dev | 22:03 | |
*** gumpa_afk_ has joined #zope3-dev | 22:05 | |
*** mkerrin has quit IRC | 22:13 | |
*** gumpa_afk has quit IRC | 22:19 | |
*** gumpa_afk_ has quit IRC | 22:29 | |
*** jinty has quit IRC | 22:29 | |
*** gumpa_afk_ has joined #zope3-dev | 22:30 | |
*** gumpa_afk_ is now known as gumpa_afk | 22:30 | |
*** gumpa_afk has quit IRC | 22:37 | |
*** gumpa_afk_ has joined #zope3-dev | 22:37 | |
*** gumpa_afk_ is now known as gumpa_afk | 22:37 | |
*** Aiste has quit IRC | 23:01 | |
*** mgedmin has quit IRC | 23:08 | |
*** gumpa_afk has quit IRC | 23:13 | |
*** gumpa_afk_ has joined #zope3-dev | 23:13 | |
*** gumpa_afk_ is now known as gumpa_afk | 23:13 | |
*** harobed_ has quit IRC | 23:14 | |
*** projekt01 has joined #zope3-dev | 23:17 | |
projekt01 | Does somebody know where I can find the ZODB browser from adam? | 23:24 |
Theuni | phew | 23:25 |
Theuni | google? | 23:25 |
projekt01 | Ok, I'll try | 23:25 |
projekt01 | Theuni, btw, did you already implement a common criteria aware principal? | 23:27 |
Theuni | a waht? | 23:28 |
Theuni | a what? | 23:28 |
*** gumpa_afk has quit IRC | 23:28 | |
projekt01 | A principal which after delate and add a similar login doesn't get the opld permissions | 23:28 |
projekt01 | opld/old | 23:28 |
*** gumpa_afk_ has joined #zope3-dev | 23:29 | |
*** gumpa_afk_ is now known as gumpa_afk | 23:29 | |
*** gumpa_afk_ has joined #zope3-dev | 23:33 | |
*** gumpa_afk_ is now known as gumpa_afk | 23:33 | |
projekt01 | benji, ayt? | 23:35 |
Theuni | projekt01: ah. you're talking about residual information protection. | 23:40 |
Theuni | I haven't done any coding yet regarding that. I'm still waiting for the TUV to accept our proposal. | 23:41 |
Theuni | (proposal=spec) | 23:41 |
*** alga has quit IRC | 23:41 | |
projekt01 | Ah, this is called residual information protection. I didn't know that. | 23:42 |
Theuni | It's "kind" of that. | 23:47 |
Theuni | Residual information protection is even a bit broader, but yes. | 23:47 |
projekt01 | What do you think do we only have to change a principal folder which adds a timestamp to the principal id? | 23:48 |
Theuni | A unique internal id for each principal would help. A better way would be to clean up all residual grants. | 23:49 |
Theuni | However, with respect to feasability, unique ids are probably better. So the principal folder would have to guarantee that it never re-uses a principal id. | 23:50 |
projekt01 | Ok I see, I guess a cleanup will be a performance problem for some apps | 23:51 |
*** gumpa_afk has quit IRC | 23:54 | |
*** gumpa_afk_ has joined #zope3-dev | 23:54 | |
*** gumpa_afk_ is now known as gumpa_afk | 23:54 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!