*** tpb has joined #melange | 00:00 | |
*** dbentley-laptop has joined #melange | 00:19 | |
*** mithro has joined #melange | 00:27 | |
*** ChanServ sets mode: +v mithro | 00:27 | |
*** forever has joined #melange | 00:58 | |
*** dmitrig01|afk has quit IRC | 01:25 | |
*** jamtoday has quit IRC | 01:30 | |
*** forever has quit IRC | 01:51 | |
*** jamtoday has joined #melange | 02:15 | |
*** forever has joined #melange | 03:58 | |
*** solydzajs has joined #melange | 05:08 | |
*** ChanServ sets mode: +o solydzajs | 05:08 | |
*** solydzajs has quit IRC | 05:14 | |
*** SRabbelier has joined #melange | 06:05 | |
*** ChanServ sets mode: +o SRabbelier | 06:05 | |
*** florinciu has joined #melange | 06:31 | |
*** mithro has quit IRC | 07:01 | |
*** MatthewWilkes has joined #melange | 07:25 | |
*** Merio has joined #melange | 07:29 | |
*** ankitg has joined #melange | 07:46 | |
*** forever has quit IRC | 07:49 | |
*** Merio has quit IRC | 08:05 | |
*** Merio has joined #melange | 08:28 | |
*** MatthewWilkes has quit IRC | 08:54 | |
*** ajuonline has quit IRC | 08:59 | |
*** MatthewWilkes has joined #melange | 09:11 | |
*** Merio has quit IRC | 09:58 | |
*** florinciu has quit IRC | 10:10 | |
*** solydzajs has joined #melange | 10:29 | |
*** ChanServ sets mode: +o solydzajs | 10:29 | |
*** freebsd-brooks has quit IRC | 10:39 | |
*** madrazr has joined #melange | 10:48 | |
*** arvind_khadri has joined #melange | 10:53 | |
*** theeth has joined #melange | 11:25 | |
theeth | Hi, I'm having an authentication problem with the app, can anyone help a bit? | 11:26 |
---|---|---|
theeth | I'm a mentor for Blender. | 11:26 |
theeth | I've added a gmail address to my google account (which wasn't registered with one previously) and now it's like the GSOC app doesn't recognize me anymore | 11:27 |
theeth | it asks me to register again. | 11:27 |
*** theeth has quit IRC | 11:40 | |
*** r0bby has quit IRC | 11:40 | |
*** jamtoday has quit IRC | 11:40 | |
*** scorche has quit IRC | 11:40 | |
*** veelck_ has quit IRC | 11:40 | |
*** rwatson has quit IRC | 11:40 | |
*** tansell has quit IRC | 11:40 | |
*** MatthewWilkes has quit IRC | 11:40 | |
*** sandy|lurk has quit IRC | 11:40 | |
*** kblin has quit IRC | 11:40 | |
*** scorche|sh has quit IRC | 11:40 | |
*** lisppaste9 has quit IRC | 11:40 | |
*** Mek has quit IRC | 11:40 | |
*** gchaix has quit IRC | 11:40 | |
*** durin42 has quit IRC | 11:40 | |
*** grim has quit IRC | 11:40 | |
*** kangaroo has quit IRC | 11:40 | |
*** ankitg has quit IRC | 11:40 | |
*** SRabbelier has quit IRC | 11:40 | |
*** dbentley-laptop has quit IRC | 11:40 | |
*** arun has quit IRC | 11:40 | |
*** schultmc has quit IRC | 11:40 | |
*** jbailey has quit IRC | 11:40 | |
*** riot has quit IRC | 11:40 | |
*** krnl_ has quit IRC | 11:40 | |
*** nuba has quit IRC | 11:40 | |
*** Kraln- has quit IRC | 11:40 | |
*** Erant has quit IRC | 11:40 | |
*** penyaskito has quit IRC | 11:40 | |
*** danderson has quit IRC | 11:40 | |
*** ArthurLiu has quit IRC | 11:40 | |
*** arvind_khadri has quit IRC | 11:40 | |
*** madrazr has quit IRC | 11:40 | |
*** solydzajs has quit IRC | 11:40 | |
*** solydzajs has joined #melange | 11:48 | |
*** schultmc has joined #melange | 11:48 | |
*** riot has joined #melange | 11:48 | |
*** dbentley-lapto1 has joined #melange | 11:48 | |
*** theeth has joined #melange | 11:48 | |
*** arvind_khadri has joined #melange | 11:48 | |
*** madrazr has joined #melange | 11:48 | |
*** MatthewWilkes has joined #melange | 11:48 | |
*** ankitg has joined #melange | 11:48 | |
*** SRabbelier has joined #melange | 11:48 | |
*** jamtoday has joined #melange | 11:48 | |
*** scorche has joined #melange | 11:48 | |
*** durin42 has joined #melange | 11:48 | |
*** scorche|sh has joined #melange | 11:48 | |
*** gchaix has joined #melange | 11:48 | |
*** Mek has joined #melange | 11:48 | |
*** lisppaste9 has joined #melange | 11:48 | |
*** penyaskito has joined #melange | 11:48 | |
*** Erant has joined #melange | 11:48 | |
*** ArthurLiu has joined #melange | 11:48 | |
*** r0bby has joined #melange | 11:48 | |
*** rwatson has joined #melange | 11:48 | |
*** sandy|lurk has joined #melange | 11:48 | |
*** grim has joined #melange | 11:48 | |
*** veelck_ has joined #melange | 11:48 | |
*** krnl_ has joined #melange | 11:48 | |
*** tansell has joined #melange | 11:48 | |
*** kangaroo has joined #melange | 11:48 | |
*** nuba has joined #melange | 11:48 | |
*** Kraln- has joined #melange | 11:48 | |
*** kblin has joined #melange | 11:48 | |
*** danderson has joined #melange | 11:48 | |
*** irc.freenode.net sets mode: +oovo solydzajs SRabbelier durin42 danderson | 11:48 | |
MatthewWilkes | theeth: Email solydzajs from both accounts and he'll fix it | 11:54 |
*** arun has joined #melange | 11:57 | |
*** jbailey has joined #melange | 11:57 | |
*** ChanServ sets mode: +o jbailey | 11:57 | |
*** Merio has joined #melange | 12:06 | |
theeth | MatthewWilkes: it's the same google account though, all other apps (like Calendar) didn't have this issue | 12:07 |
theeth | MatthewWilkes: but thanks, I'll email him | 12:07 |
MatthewWilkes | theeth: Yes, but google app engine didn't provide a stable id until the newest revision, which we haven't upgraded to yet (it's been out a couple of weeks) | 12:09 |
theeth | ah, that explains it | 12:09 |
theeth | thanks | 12:13 |
*** theeth has left #melange | 12:16 | |
*** arvind_khadri is now known as arvind_khadri_ | 12:23 | |
*** arvind_khadri_ is now known as arvind_khadri | 12:30 | |
*** lh has joined #melange | 12:41 | |
*** ChanServ sets mode: +o lh | 12:41 | |
*** Merio has quit IRC | 12:48 | |
*** Merio has joined #melange | 13:07 | |
*** Merio has quit IRC | 13:09 | |
*** Merio has joined #melange | 13:09 | |
*** dbentley-lapto1 has quit IRC | 13:16 | |
*** dbentley-laptop has joined #melange | 13:28 | |
*** dbentley-lapto1 has joined #melange | 13:36 | |
*** dhaun has joined #melange | 13:48 | |
SRabbelier | MatthewWilkes: well, we did upgrade to that version, we're just not using the id yet ;) | 13:48 |
MatthewWilkes | SRabbelier: Ah, right | 13:55 |
SRabbelier | MatthewWilkes: but good that you brought it up, we should probably do something with/about that soon :P | 13:56 |
MatthewWilkes | SRabbelier: While I've got you here, the idea of that test case is it loads all the stubs and starts serving a real HTTP server, so it tests the whole stack. AFAICT (and people in here have said similar) in run.py you only set up enough stuff to be able to make python calls around melange | 13:56 |
* SRabbelier goes off to write an email | 13:56 | |
SRabbelier | MatthewWilkes: ah, mhhhh | 13:57 |
SRabbelier | durin42: can you confirm what MatthewWilkes said, I'm not sure tbh | 13:57 |
*** dbentley-laptop has quit IRC | 13:58 | |
MatthewWilkes | SRabbelier: And, to be clear, I'm not asking for this patch to be applied, it's just this discussion that I wanted for now before I go further on it | 13:58 |
durin42 | SRabbelier: what's the question? | 13:59 |
SRabbelier | durin42: whether run.py starts a full-fledged server (that is capable of serving HTTP requests) or not | 13:59 |
SRabbelier | MatthewWilkes: *nod*, aye | 13:59 |
durin42 | tests/run.py? | 14:00 |
durin42 | That's *just* the nosetests, if it is starting a webserver that's a bug IMO | 14:00 |
SRabbelier | durin42: ah, ok, gotcha then | 14:00 |
SRabbelier | durin42: so it doesn't use dev_appserver? | 14:00 |
durin42 | Not that I'm aware. | 14:00 |
durin42 | That is for unit tests, not functional tests. | 14:01 |
MatthewWilkes | durin42: So, would you agree that tests/run.py is insufficient for full functional tests that look at HTML output around the site? | 14:01 |
SRabbelier | durin42: clear, thanks for clarifying | 14:01 |
SRabbelier | durin42, MatthewWilkes: could either of you send this explanation to melange-soc-dev so it's available to all? | 14:01 |
durin42 | MatthewWilkes: correct, I would build a separate testsuite that uses something like twill to do that | 14:01 |
durin42 | Personally, I would use twill | 14:01 |
MatthewWilkes | durin42: I dislike twill, it doesn't support doctests sensibly | 14:02 |
durin42 | MatthewWilkes: http://blip.tv/search?q=functional+testing+twill&x=0&y=0 | 14:02 |
tpb | <http://ln-s.net/3:_p> (at blip.tv) | 14:02 |
durin42 | MatthewWilkes: Why on earth would you be doing functional testing with *twill*? | 14:02 |
durin42 | Also, it sounds like you're using doctests wrongly. | 14:02 |
durin42 | doctest is for *short* tests that are primarily *documentation*, and thus ones that require minimal to no setup/teardown stuff. | 14:03 |
MatthewWilkes | durin42: I've sent a series of RFC patches to the mailing list that provide a unittest.TestCase compatible testcase that will start the dev_appserver, which is the context | 14:03 |
MatthewWilkes | durin42: Yep, but sometimes with webapps you need to do that with a testbrowser | 14:03 |
MatthewWilkes | or, at least, it's better | 14:04 |
durin42 | MatthewWilkes: How is doctest's failure mode better? | 14:04 |
MatthewWilkes | Of course you could mock up a request, etc, but that's not the point | 14:04 |
durin42 | Right, but I'm still unclear why you think doctest is appropriate for large-scale tests | 14:06 |
MatthewWilkes | durin42: I never said it was, I'm saying that the fact that doctests are short and document the functionality does not preclude them being functional tests, it depends on context | 14:06 |
MatthewWilkes | durin42: I never said it was | 14:06 |
MatthewWilkes | hm, said that twice :P | 14:07 |
durin42 | Functional tests definitionally depend on a large part of the stack though | 14:07 |
MatthewWilkes | durin42: Yes, but some features depend on a large part of the stack. Again, I'm not saying we should write doctests for everything, but I don't like testing tools that make those decisions for you | 14:07 |
MatthewWilkes | and twill does not play well with doctests | 14:07 |
durin42 | Sounds like a good reason to submit patches to twill | 14:08 |
durin42 | Titus is only mostly an ironfisted dictator. | 14:08 |
MatthewWilkes | durin42: Oh, is it Titus's? I have perfectly adequate tools, no interest in using Twill if it's not an improvement on what I have | 14:09 |
durin42 | Titus Brown, yeah | 14:09 |
durin42 | MatthewWilkes: what are you using? | 14:09 |
MatthewWilkes | durin42: zope.testbrowser - it's a wrapper around mechanize | 14:10 |
durin42 | ah, yeah, mechanize is good stuff | 14:11 |
durin42 | I always avoid zope.* like the plague because I don't want to pick up fun extra dependencies for minimal reason | 14:11 |
MatthewWilkes | durin42: I have write on the zope repo, often clean out deps | 14:12 |
MatthewWilkes | So not so much a problem for me ;) | 14:12 |
durin42 | Right, but once you get zope involved a lot of Python devs twitch, even if it's not always warranted | 14:13 |
durin42 | (I mean, really? zope.schema for a test browser? ditto zope.interface...) | 14:13 |
*** Merio has quit IRC | 14:14 | |
* SRabbelier notices the signs of a religious war? | 14:14 | |
MatthewWilkes | durin42: Yeah, +1 | 14:14 |
MatthewWilkes | SRabbelier: Nah, people are too sensitive | 14:15 |
durin42 | SRabbelier: I'll point out that the zope guy agrees with me | 14:15 |
SRabbelier | :P | 14:15 |
MatthewWilkes | We're trying to be better citizens, part of that is unfucking our deps | 14:15 |
SRabbelier | honestly, I don't care either way :) | 14:15 |
durin42 | so to pull in a layer over mechanize, you get zope.event, zope.i18nmessageid, zope.interface, zope.schema, and zope.testing :) | 14:15 |
durin42 | SRabbelier: I'm one of those people that's allergic to tons of dependencies | 14:16 |
SRabbelier | *cough* Django *cough* AppEngine *cough*? | 14:16 |
MatthewWilkes | durin42: I could strip out most of that given an hour's work, I'll do that tonight if I get a chance | 14:16 |
durin42 | MatthewWilkes: yeah, zope is getting less entangled these days, it's a good thing to see | 14:16 |
durin42 | SRabbelier: I don't really like Django all that much. But it also doesn't *claim* to have multiple components. | 14:17 |
durin42 | Django's admin interface is cool. | 14:17 |
SRabbelier | durin42: mhh, like that, ok | 14:17 |
durin42 | If you're not gonna use the admin interface, Werkzeug+WTForms+Jinja2+Elixir seems like a compelling substitute. | 14:18 |
MatthewWilkes | durin42: We (Plone) will be jumping ship from zope in a few years | 14:19 |
MatthewWilkes | We're moving to full WSGI using Repoze in a year or so | 14:19 |
durin42 | <3 WSGI | 14:19 |
MatthewWilkes | and the aim for a few major releases is to drop loads of it and bring more externals in | 14:19 |
MatthewWilkes | Hells yes | 14:20 |
MatthewWilkes | It's awesome, but so much middleware misbehaves | 14:20 |
SRabbelier | MatthewWilkes: so in the light of durin42's comments, how do you look at your own patches? | 14:20 |
SRabbelier | MatthewWilkes: they are still useful, no? | 14:20 |
SRabbelier | MatthewWilkes: perhaps, except for the zope part? | 14:20 |
MatthewWilkes | SRabbelier: I think so, the Zope part isn't a dep of my patches anyway | 14:20 |
durin42 | MatthewWilkes: in all seriousness, drop me a line when you break the deps for that zope testbrowser, I might use that on projects at work if it was less entangled | 14:21 |
MatthewWilkes | durin42: as far as I can tell from a quick look it's for component architecture wanking, Cookies don't need to be a zca interface, it's silly | 14:22 |
durin42 | heh | 14:22 |
MatthewWilkes | I'll have to debate in on zope-dev, but I doubt anyone but architecture astronauts would mind | 14:23 |
durin42 | bonus points for the phrase "component architecture wanking" | 14:23 |
MatthewWilkes | durin42: As I say, we want to be better at it, #zope has 70 users, #repoze (slicing up zope into wsgi middlewares and utils) has 61 | 14:26 |
durin42 | Yeah, that sounds awesome. | 14:26 |
*** lisppaste9 has quit IRC | 15:27 | |
*** lisppaste9 has joined #melange | 15:35 | |
*** madrazr1 has joined #melange | 16:33 | |
*** madrazr has quit IRC | 16:34 | |
*** madrazr1 is now known as madrazr | 16:34 | |
*** MatthewWilkes has quit IRC | 16:34 | |
*** MatthewWilkes has joined #melange | 17:10 | |
*** madrazr has left #melange | 17:19 | |
*** dhaun has quit IRC | 17:32 | |
*** solydzajs has quit IRC | 17:41 | |
*** SRabbelier has quit IRC | 17:44 | |
jamtoday | Does anyone know how to overwrite a property definition when you're inheriting a model class? | 18:00 |
jamtoday | Without raising exceptions, ideally :) | 18:01 |
*** MatthewWilkes has quit IRC | 18:23 | |
*** MatthewWilkes has joined #melange | 18:30 | |
*** mithro has joined #melange | 19:04 | |
*** ChanServ sets mode: +v mithro | 19:04 | |
*** lh has quit IRC | 19:13 | |
*** jamtoday has quit IRC | 19:52 | |
*** jamtoday has joined #melange | 20:02 | |
*** dbentley-lapto1 has left #melange | 21:07 | |
*** MatthewWilkes has quit IRC | 21:54 | |
*** ankitg has quit IRC | 22:59 | |
*** arvind_khadri has quit IRC | 23:14 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!