/srv/irclogs.ubuntu.com/2012/05/15/#ubuntu-app-devel.txt

=== dholbach_ is now known as dholbach
dholbachgood morning07:30
JackyMorning dholbach07:30
dholbachhi Jacky07:30
JackyWhat's your itch today?07:31
dholbachif you mean what I'll be working on today - it'll be emails, organising  a few things and maybe hack a bit on a django web app :)07:32
gaspahi, anyone with some telepathy clue? (i'm not talking about ESP, obv.) :)15:35
gaspa(trying to build a simple irc client with that, but seems overcomplicated for such a job)15:37
=== jrgifford_ is now known as jrgifford
dholbachciao gaspa, AFAIK lp:lernid makes use of telepathy-idle15:43
gaspadholbach: i'm just after that :)15:45
dholbachgaspa, come stai?15:45
gaspadholbach: to be clearer, i'm trying to move lernid to pygi.... but using telepathy is a complete mess... headache for sure!15:46
gaspadholbach: wow, learning italian!? :D :D ( benone, e tu?)15:46
dholbachahhhhh ok15:46
gaspadholbach: do you know who care the irc part of lernid? jono?15:47
dholbachgaspa, just small bits I picked up here and there - in the summer we plan to be in Italy some time15:47
gaspa \o/15:47
dholbachgaspa, either jono or jsjgruber *shrug*15:48
gaspalet us know when! :)15:48
dholbachcerto! :)15:49
gaspa:D15:50
pavolzetorhi, how can I test software locally? I have unittest19:25
pavolzetorand I need to test URL handling19:25
pavolzetorurlllib.request and so on19:25
pavolzetorhttp://bazaar.launchpad.net/~floaty-devs/floaty/trunk/view/head:/floatyclient/url.py19:26
pavolzetorthis code19:26
pavolzetorI have real url in unittest, but I would like to use something local and independent on particular website19:26
RawChidpavolzetor: I'm not a guru in Python on this, but you could "mock" request object20:28
RawChidWith mocking you can use a replacement/stub of the actual object. And define what it should give back (for example a piece of HTML?)20:31
pavolzetorhmm, that should work21:13
pavolzetorso at least interface of method will bbe teststed21:13
pavolzetorand |I have to rely, that there are no bugs in urllib or code21:14
pavolzetorI mean, is there any point to do mock interface21:14
pavolzetorit will just keep testing if method exists21:15
pavolzetorbut I will do it at least, thanks21:16
=== jalcine is now known as jacky
pavolzetorAssertionError: <class 'bytes'> is not an instance of <class 'bytes'>21:20
pavolzetorwhat is this? :)21:20
pavolzetorfixed, thanks guy21:34

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