=== pokrak|2 is now known as PoKrAk === xfaf is now known as zul [15:55] ara / jibel: so I'm trying to get a mago test to run and I'm having a hard time [15:57] PYTHONPATH=. ./bin/mago -a gedit [15:58] that results in an ImportError for gedit [16:12] bdmurray, can you pastebin the error ? [16:14] jibel: http://pastebin.ubuntu.com/533072/ [16:20] bdmurray, main is the directory where you've pulled the branch ? Do you have ~/source-trees/mago/main/mago/test_suite/gedit.py ? [16:21] jibel: yes and I can manually import it in that directory [16:24] bdmurray, any useful information if you run with --log-level=debug ? === You're now known as ubuntulog [16:26] bdmurray, it is PYTHONPATH, rather than PYTHON_PATH [16:27] in the pastebin it says PYTHON_PATH [16:27] ara, :-) thanks a bunch [16:28] well, that was dumb [16:29] thanks! [16:29] bdmurray, np :) [16:30] ara: I also noticed there is a test for bug 631665 but it isn't identified as one. What is the right way to do that? [16:30] Launchpad bug 631665 in gcalctool (Ubuntu Maverick) (and 3 other projects) "Calculator does not show thousands seperator despite being chosen in preferences (affects: 10) (dups: 4) (heat: 103)" [Medium,Fix committed] https://launchpad.net/bugs/631665 [16:31] bdmurray, what do you mean by not identified as one? [16:31] ara: well I'd expect there to something in the test to say if this fails look at this bug [16:32] ara: so one could see if a patch was dropped etc.... [16:32] bdmurray, mmm, yes, I guess putting in the README should be enough [16:32] ara: yes, that would work for me [16:33] bdmurray, each app folder (i.e. gedit) contains a README file to put information about the tests [16:33] bdmurray, I will add it there [16:33] ara: yes, I saw that [16:33] bdmurray, thanks! [16:34] finally how do I figure out what to use in input for the mod button in gcalc? [16:34] I saw Cs9 for the square root of 9 [16:35] ara: ^? === You're now known as ubuntulog_ === You're now known as ubuntulog [17:05] bdmurray, I've patched mago to get rid of PYTHONPATH. [17:05] ara ^ === yofel_ is now known as yofel [17:06] jibel, great :) [17:08] ara, that makes less frightening command lines :-) [17:08] now my test is getting a traceback [17:08] afaict modulus should be " mod " [17:08] and so I have a key error for ' ' [17:10] is that the BUTTONS dict in gcalc.py? [17:14] bdmurray, yes. To discover the id of the components you can either use accerciser [17:14] bdmurray, or app=ooldtp.context('frmCalculator') [17:15] sorted(app.getobjectlist()) [17:15] in a python console [17:16] jibel: what setup is required for the python console option? [17:17] bdmurray, nothing special, import ldtp, ooldtp [17:19] just importing ldtp should be enough right? [17:19] like: [17:19] import ldtp [17:19] sorted (ldtp.getobjectlist('frmblah')) [17:20] you'd probably get the same result [17:20] Is this information somewhere @ mago.ubuntu.com? [17:21] i didn't see anything about this on the wiki pages... [17:21] i've using magomatic and later discover the getobjectlist [17:21] pedro_, right that's exactly the same, [17:21] which is pretty useful if the widget you're working on is changing [17:22] for example a gtkfilechooser [17:22] bdmurray, no, not yet on mago.u.c, the reference documentation is there http://ldtp.freedesktop.org/wiki/ === Claudinux_ is now known as Claudinux [17:25] jibel: here is my diff is there anything else required? updating the README? [17:25] http://pastebin.ubuntu.com/533124/ [17:25] bdmurray, pedro_, for introspection you'll also find the methods getobjectinfo and getobjectproperty quite useful. [17:26] jibel: ee, line 12 should be 7921m14 [17:27] jibel: here http://pastebin.ubuntu.com/533127/ [17:27] bdmurray, also add the testcase to testcase.qa.u.c and add a note to indicate it's automated. [17:29] jibel: there is no tool to update testcases.qa? [17:33] bdmurray, not that I know, you have to log in and manually add the testcase. we definitely need something, I've ~ 450 testcases to add (http://people.canonical.com/~j-lallement/natty/testcases.html) and I probably won't do that manually. [17:34] jibel: right and looking at the gcalc page one test didn't get added [17:46] https://code.launchpad.net/~brian-murray/mago/gcalc-test-modulus/+merge/40987 === Claudinux_ is now known as Claudinux