/srv/irclogs.ubuntu.com/2015/07/08/#ubuntu-quality.txt

ianorlinhmm do we know when the iso.qa.ubuntu.com will come back03:45
=== chihchun_afk is now known as chihchun
pittielopio: fixed bug 1468868 FYI07:16
ubot5bug 1468868 in autopkgtest (Ubuntu) "Selftests print a lot of messages about time stamps in the future" [Low,Fix committed] https://launchpad.net/bugs/146886807:16
elopiopitti: ^_^07:18
elopiothanks.07:18
Saviqelopio, hey, can I steal you for a moment?14:40
davmor2Saviq: I'm keeping my eye on you, if he is not returned in pristine condition you're in for it ;)14:47
Saviqdavmor2, he never showed up!14:48
davmor2I have much to learn elopio oh wise one14:48
elopioSaviq: hello.14:49
elopiohow can I help you>14:49
elopio?14:49
Saviqelopio, hey14:50
Saviqelopio, so, given a class http://pastebin.ubuntu.com/11841840/14:51
Saviqelopio, how do I mock BaseClass so that I can verify BaseClass.__init__ was called with the correct args?14:51
SaviqI started looking at replacing __bases__, but not totally happy with that, there must be a better way :)14:53
elopioSaviq: can't you use patch.object(BaseClass, __init__) ?14:54
Saviqelopio, hmm trying14:54
elopioSaviq: let me search a little too.14:57
Saviqelopio, yup, that woked14:57
elopiooh, awesome :)14:57
Saviqelopio, nope, that works great, thanks! /me not fluent with mock yet14:57
Saviqelopio, hah, that works for py34, not for py27 or pypy - those complain about "must by type, not classobj"15:05
Saviqelopio, if I don't use super but call BaseClass().__init__ it's fine, but super must be doing something special15:06
Saviqor I'm calling super wrong...15:08
Saviqhuh15:10
Saviqaha, it's an old-style class in py2...15:12
Saviqok, so it wasn't super() for a reason15:12
Saviqelopio, unping, base was an old-style class15:13
elopioSaviq: the problem is clearly in trying to support py2, just drop that :)15:14
Saviqelopio, indeed ;)15:14
=== chihchun is now known as chihchun_afk
=== boiko_ is now known as boiko
=== la_juyis` is now known as la_juyis

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