| *** balor has quit IRC | 00:17 | |
| *** fsufitch has joined #schooltool | 01:58 | |
| *** fsufitch has quit IRC | 03:56 | |
| *** fsufitch has joined #schooltool | 03:56 | |
| *** alga has quit IRC | 06:14 | |
| *** fsufitch has left #schooltool | 06:16 | |
| *** balor has joined #schooltool | 10:40 | |
| *** yvl has joined #schooltool | 11:35 | |
| *** alga has joined #SchoolTool | 13:42 | |
| *** ignas has joined #schooltool | 15:07 | |
| *** ignas has quit IRC | 15:37 | |
| *** replaceafill has joined #schooltool | 15:43 | |
| *** th1a has joined #schooltool | 15:45 | |
| *** ignas has joined #schooltool | 15:50 | |
| *** fsufitch has joined #schooltool | 15:59 | |
| fsufitch | aelkner, ping | 15:59 |
|---|---|---|
| fsufitch | ignas, ping | 16:03 |
| ignas | fsufitch: hi | 16:03 |
| fsufitch | ignas, hi | 16:03 |
| fsufitch | how can i set up ftesting for tjtalk? | 16:04 |
| fsufitch | utests were easy enough, but i dont get how the ftesting works | 16:04 |
| ignas | look at schooltool.lyceum.journal ftests ;) | 16:04 |
| fsufitch | ... okay | 16:04 |
| ignas | you want to add a layer | 16:04 |
| ignas | and ftesting.zcml | 16:04 |
| fsufitch | theres no ftesting.zcml that i see for schooltool.lyceum.journal | 16:06 |
| fsufitch | wait wtf it's not in browser/ | 16:06 |
| fsufitch | >_< | 16:06 |
| ignas | yeah, ftesting.py and ftesting.zcml are not in browser, I don't know why i did it, probably because they are "for the package" | 16:06 |
| ignas | as in - ftesting.zcml resembles configure.zcml not browser/configure.zcml | 16:07 |
| fsufitch | but ftesting is a "browser thing" | 16:07 |
| fsufitch | bah whatever | 16:07 |
| fsufitch | why does this thing use BasicPerson as the skin though? | 16:07 |
| ignas | ftesting.py and zcml is also used in unit tests | 16:08 |
| ignas | because I was too lazy to add a separate skin | 16:08 |
| fsufitch | wow | 16:08 |
| ignas | ok, it was more complicated than that | 16:09 |
| fsufitch | i thought u were more perfectionist than to do something like that | 16:09 |
| ignas | basicperson skin was lyceum skin before | 16:09 |
| fsufitch | :-P | 16:09 |
| ignas | and in a sprint we moved basicperson out of lyceum | 16:09 |
| ignas | and renamed the skin to match | 16:09 |
| ignas | and - yes i've done worse things than that | 16:09 |
| fsufitch | heh | 16:09 |
| ignas | but as they say - so what I say not what I do ;) | 16:09 |
| * ignas at least feels sorry when he does that :P | 16:10 | |
| fsufitch | okay, so just to get this straight, in the zcml, you're creating the BasicPerson skin (wtf, but whatever) | 16:10 |
| fsufitch | and then you have test_all.py? | 16:10 |
| fsufitch | i dont get how collect_ftests and ZCMLLayer work together to get the ftest files | 16:11 |
| fsufitch | oh there's an __init__.py | 16:12 |
| ignas | collect_ftests | 16:12 |
| fsufitch | still doesnt help... | 16:13 |
| fsufitch | what? | 16:13 |
| ignas | collects all the foo_bar.txt files in ftesting/ | 16:13 |
| ignas | in ftests/ | 16:13 |
| fsufitch | ah | 16:13 |
| ignas | automagically | 16:13 |
| fsufitch | o_o | 16:13 |
| ignas | so you put all ftests in there | 16:13 |
| fsufitch | wonderful how zope works like that | 16:13 |
| fsufitch | so should tjTalk be using the BasicPerson skin too? | 16:13 |
| ignas | nope | 16:13 |
| fsufitch | or the schooltool skin? | 16:13 |
| ignas | well - depends on whether you want basicperson in your tests | 16:14 |
| ignas | or you don't cate about the person at all ;) | 16:14 |
| ignas | don't care | 16:14 |
| ignas | lyceum needs or at least wants first_name last_name person | 16:14 |
| ignas | while most of the system uses the i have only "title" person for testing | 16:14 |
| ignas | i mean - what's the difference if you are testing term add/edit forms | 16:15 |
| fsufitch | i'm not | 16:15 |
| fsufitch | and for now, im not using the people's names | 16:15 |
| fsufitch | but i will later | 16:15 |
| fsufitch | though, i might just use the title | 16:15 |
| fsufitch | i want to make this extensible so later i can test the exporting of people scores to the gradebook | 16:16 |
| fsufitch | so that would be the SchoolTool skin, right? | 16:16 |
| fsufitch | ignas, ping >_> | 16:17 |
| ignas | pong | 16:18 |
| ignas | yeah | 16:18 |
| fsufitch | ok | 16:18 |
| ignas | i mean - look schooltoo.course schooltool.term schooltool.schoolyear | 16:19 |
| ignas | they all have their ftesting.zcml | 16:19 |
| ignas | and layer | 16:19 |
| ignas | setup | 16:19 |
| fsufitch | ok | 16:20 |
| fsufitch | ty | 16:20 |
| fsufitch | wtf time_machine.zcml o_O | 16:21 |
| fsufitch | awesome, it works | 16:25 |
| fsufitch | ignas, how does the schooltool.app.browser.ftests.setup.addPerson actually work? | 16:38 |
| fsufitch | there is no "Full Name" field in the person add form | 16:38 |
| fsufitch | is there? | 16:38 |
| fsufitch | no, there isn't o_O | 16:39 |
| *** spowers_ has joined #schooltool | 16:43 | |
| *** spowers has quit IRC | 16:43 | |
| ignas | yeah, basic person vs person | 16:47 |
| ignas | time_machine allows you to set the system date to something other than today | 16:47 |
| ignas | for when you want to test term transitions and simmilar stuff | 16:47 |
| ignas | fsufitch: as for addPerson - there are 2 of them, one for basic person and other one for schooltool.person | 16:59 |
| fsufitch | ahh | 16:59 |
| fsufitch | ok | 16:59 |
| *** jfroche has quit IRC | 17:11 | |
| *** balor has quit IRC | 17:29 | |
| *** mgedmin has joined #schooltool | 18:32 | |
| *** replaceafill has quit IRC | 18:59 | |
| *** jfroche has joined #schooltool | 19:08 | |
| *** fsufitch has quit IRC | 19:09 | |
| *** mgedmin has quit IRC | 20:48 | |
| *** jstraw has joined #schooltool | 20:49 | |
| *** balor has joined #schooltool | 21:06 | |
| *** elarson_ has joined #schooltool | 21:17 | |
| *** jcrowley has joined #schooltool | 21:22 | |
| *** elarson_ has quit IRC | 21:23 | |
| *** jcrowley has left #schooltool | 21:30 | |
| *** ignas has quit IRC | 22:40 | |
| *** jstraw has quit IRC | 23:09 | |
| *** balor has quit IRC | 23:25 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!