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