*** benji has quit IRC | 00:06 | |
*** runyaga_ has quit IRC | 00:09 | |
*** runyaga has joined #zope | 00:12 | |
*** runyaga has joined #zope | 00:12 | |
*** Arfrever has joined #zope | 00:19 | |
*** TomBlockley has quit IRC | 00:21 | |
*** J1m has quit IRC | 00:27 | |
*** m8 has quit IRC | 00:35 | |
*** TomBlockley has joined #zope | 00:44 | |
*** zopeplanetbot has quit IRC | 00:44 | |
*** d2m has quit IRC | 00:46 | |
*** zopeplanetbot has joined #zope | 00:47 | |
*** m8 has joined #zope | 00:52 | |
*** RichardBarrell has joined #zope | 00:57 | |
*** davisagli has quit IRC | 01:02 | |
*** davisagli has joined #zope | 01:03 | |
*** davisagli has joined #zope | 01:04 | |
*** ccomb has quit IRC | 01:19 | |
*** mr_jolly has left #zope | 01:33 | |
*** davisagli has quit IRC | 01:45 | |
*** supton has quit IRC | 01:45 | |
*** davisagli has joined #zope | 01:45 | |
*** ajkaanbal has quit IRC | 02:01 | |
*** hever has joined #zope | 02:11 | |
*** TomBlockley has quit IRC | 02:21 | |
*** m8 has quit IRC | 02:21 | |
*** alecm has quit IRC | 02:29 | |
*** alecm has joined #zope | 02:30 | |
*** alecm has joined #zope | 02:30 | |
*** RichardBarrell has quit IRC | 02:35 | |
*** supton has joined #zope | 02:56 | |
*** _mup_ has quit IRC | 03:00 | |
*** _mup_ has joined #zope | 03:00 | |
*** River-Rat has joined #zope | 03:05 | |
*** River_Rat has quit IRC | 03:06 | |
*** evilbungle has quit IRC | 03:06 | |
*** daMaestro has quit IRC | 03:14 | |
*** J1m has joined #zope | 03:41 | |
*** mcdonc has quit IRC | 03:49 | |
*** Spanktar has quit IRC | 04:00 | |
*** tiwula has quit IRC | 04:09 | |
*** davisagli has quit IRC | 04:09 | |
*** davisagli has joined #zope | 04:09 | |
*** davisagli has quit IRC | 04:15 | |
*** davisagli has joined #zope | 04:16 | |
*** J1m has quit IRC | 04:33 | |
*** davisagli has left #zope | 04:37 | |
*** J1m has joined #zope | 05:13 | |
*** J1m has quit IRC | 05:15 | |
*** zagy2 has quit IRC | 05:18 | |
*** mcdonc has joined #zope | 05:39 | |
*** mcdonc_ has joined #zope | 05:44 | |
*** mcdonc has quit IRC | 05:45 | |
*** tiwula has joined #zope | 05:48 | |
*** mcdonc_ has quit IRC | 05:49 | |
*** zagy has joined #zope | 05:49 | |
*** hever has quit IRC | 06:23 | |
*** zagy has quit IRC | 06:26 | |
*** zagy has joined #zope | 06:30 | |
*** mcdonc_ has joined #zope | 06:38 | |
*** dixond has quit IRC | 06:39 | |
*** River-Rat has quit IRC | 06:40 | |
*** River-Rat has joined #zope | 06:40 | |
*** dixond has joined #zope | 06:41 | |
*** zopeplanetbot has quit IRC | 07:14 | |
*** zopeplanetbot has joined #zope | 07:20 | |
*** tiwula has quit IRC | 07:35 | |
*** mcdonc_ has quit IRC | 07:48 | |
*** __mac__ has joined #zope | 08:56 | |
*** agroszer has joined #zope | 09:15 | |
*** tisto has joined #zope | 09:24 | |
*** sunew has joined #zope | 09:51 | |
*** __mac__ has quit IRC | 10:23 | |
*** __mac__ has joined #zope | 10:24 | |
*** goschtl has joined #zope | 10:28 | |
*** __mac__ has quit IRC | 10:39 | |
*** __mac__ has joined #zope | 10:39 | |
*** alexpilz has quit IRC | 10:45 | |
*** avoinea has joined #zope | 10:46 | |
*** MrTango has joined #zope | 10:53 | |
*** alexpilz has joined #zope | 11:37 | |
*** MrWu has joined #zope | 11:50 | |
*** TomBlockley has joined #zope | 11:51 | |
*** alexpilz has quit IRC | 11:52 | |
*** alexpilz has joined #zope | 11:52 | |
*** alexpilz1 has joined #zope | 11:54 | |
*** alexpilz has quit IRC | 11:54 | |
*** BeeBob has joined #zope | 12:05 | |
*** mr_jolly has joined #zope | 12:05 | |
*** menesis has joined #zope | 12:06 | |
*** hever has joined #zope | 12:11 | |
*** hever has quit IRC | 12:18 | |
*** J1m has joined #zope | 12:19 | |
*** alexpilz1 has quit IRC | 12:40 | |
*** alexpilz has joined #zope | 12:40 | |
*** mitchell`off is now known as mitchell` | 12:42 | |
*** hever has joined #zope | 12:45 | |
*** teix has joined #zope | 12:55 | |
*** kosh has quit IRC | 12:56 | |
*** kosh has joined #zope | 12:58 | |
*** do3cc has joined #zope | 12:59 | |
*** tisto_ has joined #zope | 13:03 | |
*** thetet has joined #zope | 13:05 | |
*** tisto has quit IRC | 13:06 | |
*** River-Rat has quit IRC | 13:08 | |
*** J1m has quit IRC | 13:10 | |
*** River-Rat has joined #zope | 13:12 | |
*** f10w has quit IRC | 13:19 | |
*** ccomb has joined #zope | 13:25 | |
*** evilbungle has joined #zope | 14:01 | |
*** f10w has joined #zope | 14:02 | |
*** eperez has joined #zope | 14:06 | |
*** tisto_ is now known as tisto|lunch | 14:19 | |
*** hever has quit IRC | 14:21 | |
*** RichardBarrell has joined #zope | 14:23 | |
*** BeeBob has quit IRC | 14:33 | |
*** hever has joined #zope | 14:47 | |
*** MrWu has quit IRC | 14:57 | |
*** menesis has quit IRC | 14:57 | |
*** benji has joined #zope | 15:04 | |
*** goschtl has quit IRC | 15:24 | |
*** do3cc has quit IRC | 15:41 | |
*** RaceCondition has joined #zope | 15:53 | |
*** tisto|lunch is now known as tisto | 15:53 | |
*** mcdonc_ has joined #zope | 16:02 | |
*** J1m has joined #zope | 16:05 | |
*** thetet has quit IRC | 16:11 | |
*** do3cc has joined #zope | 16:13 | |
*** menesis has joined #zope | 16:32 | |
*** hever has quit IRC | 16:33 | |
*** yvl has quit IRC | 16:47 | |
*** yvl has joined #zope | 16:48 | |
*** RaceCondition has quit IRC | 17:28 | |
*** zopeplanetbot has quit IRC | 17:30 | |
*** zopeplanetbot has joined #zope | 17:35 | |
*** tiwula has joined #zope | 17:53 | |
*** RaceCondition has joined #zope | 17:56 | |
*** avoinea has quit IRC | 18:09 | |
*** hever has joined #zope | 18:16 | |
*** avoinea has joined #zope | 18:22 | |
*** mcdonc_ has quit IRC | 18:26 | |
*** ajkaanbal has joined #zope | 18:26 | |
gawel | you mean this ? https://github.com/FormAlchemy/fa.jquery/blob/master/fa/jquery/forms.py#L23 | 18:28 |
---|---|---|
*** mcdonc_ has joined #zope | 18:30 | |
*** hever has quit IRC | 18:32 | |
gawel | argh, wrong chan, sorry | 18:33 |
*** supton_ has joined #zope | 18:35 | |
*** __mac__ has quit IRC | 18:43 | |
*** agroszer has quit IRC | 18:46 | |
*** RaceCondition has quit IRC | 18:51 | |
*** RaceCondition has joined #zope | 18:55 | |
*** RaceCondition has quit IRC | 18:58 | |
*** TresEquis has joined #zope | 19:00 | |
*** Spanktar has joined #zope | 19:05 | |
*** daMaestro has joined #zope | 19:14 | |
*** avoinea has quit IRC | 19:16 | |
*** RaceCondition has joined #zope | 19:21 | |
*** RaceCondition has quit IRC | 19:42 | |
*** m8 has joined #zope | 19:49 | |
*** menesis has quit IRC | 19:52 | |
*** tisto has quit IRC | 19:53 | |
*** RaceCondition has joined #zope | 19:59 | |
*** RaceCondition has quit IRC | 20:02 | |
*** agroszer has joined #zope | 20:06 | |
*** eperez has quit IRC | 20:07 | |
*** do3cc has quit IRC | 20:10 | |
*** agroszer has quit IRC | 20:23 | |
*** rbanffy has joined #zope | 20:31 | |
*** betabug has quit IRC | 20:32 | |
*** mitchell` is now known as mitchell`off | 20:39 | |
*** betabug has joined #zope | 20:50 | |
*** hever has joined #zope | 20:52 | |
*** zopeplanetbot has quit IRC | 21:01 | |
*** zopeplanetbot has joined #zope | 21:02 | |
*** rbanffy has quit IRC | 21:11 | |
*** sunew has quit IRC | 21:19 | |
*** rbanffy has joined #zope | 21:31 | |
*** tos9 has joined #zope | 21:46 | |
tos9 | In z.i.verify "Any other exception raised by a property will propagate to the caller of verifyObject"" | 21:47 |
tos9 | That's not somehow configurable is it? | 21:47 |
tos9 | Specifically, I have a class implementing an interface, with attributes. I want to verify all the attributes are present on the class, but, trying to access them raises a (non-AttributeError) exception | 21:49 |
benji | tos9: no way that I'm aware of, you're probably better off just writing your test to assert that the expected exception is raised | 21:56 |
tos9 | benji: Cool. Thought so. Is there a way to get all the non-attributes of an interface without isinstance? | 21:56 |
tos9 | This way I can use verifyClass for the methods and then that for the attribs | 21:56 |
tos9 | Er. That first sentence came out backwards of course. | 21:58 |
tos9 | Whatever, this'll work. Thanks. | 22:00 |
benji | tos9: the only way I see to do that would be to use IMyInterface.names() (which returns the names defined in the interface) and use isinstance or similar to skip over the methods | 22:00 |
benji | there's also namesAndDescriptions() but I don't know what it means by "description" | 22:01 |
benji | tos9: oh! the "description" will be of type Attribute for attributes, so that'd be a reasonable way to do what you want | 22:03 |
tos9 | Yeah, that's what I did. | 22:05 |
tos9 | Thank you :) | 22:05 |
benji | cool | 22:05 |
*** teix has quit IRC | 22:09 | |
tos9 | Hah. Fabulous. | 22:14 |
tos9 | z.i.Method subclasses Attribute :) [not a problem obviously, I'll use not isinstance] | 22:15 |
*** __mac__ has joined #zope | 22:17 | |
benji | heh | 22:22 |
*** menesis has joined #zope | 22:27 | |
*** RaceCondition has joined #zope | 22:39 | |
*** RaceCondition has quit IRC | 22:42 | |
*** RaceCondition has joined #zope | 22:46 | |
*** __mac__ has quit IRC | 23:26 | |
*** giampaolo has joined #zope | 23:50 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!