*** wjohnsto has joined #schooltool | 00:11 | |
*** th1a has quit IRC | 00:48 | |
*** wjohnsto has quit IRC | 01:20 | |
*** gpaci has quit IRC | 01:31 | |
*** gpaci has joined #schooltool | 01:31 | |
*** pcardune has joined #schooltool | 02:10 | |
*** gpaci_ has joined #schooltool | 02:35 | |
*** didymo has joined #schooltool | 02:44 | |
*** gpaci_ has quit IRC | 02:52 | |
*** gpaci has quit IRC | 02:52 | |
*** pcardune has quit IRC | 03:27 | |
*** jinty has quit IRC | 03:31 | |
*** th1a has joined #schooltool | 03:54 | |
*** filip101 has joined #schooltool | 04:06 | |
*** filip101 has quit IRC | 04:07 | |
*** th1a has quit IRC | 04:30 | |
*** gpaci has joined #schooltool | 04:46 | |
*** pcardune has joined #schooltool | 05:25 | |
*** pcardune has quit IRC | 05:51 | |
*** th1a has joined #schooltool | 05:54 | |
*** gpaci has quit IRC | 05:58 | |
*** pcardune has joined #schooltool | 06:08 | |
*** gpaci has joined #schooltool | 06:24 | |
*** gpaci has quit IRC | 08:12 | |
*** kitblake has joined #schooltool | 08:16 | |
*** pcardune has quit IRC | 08:32 | |
*** lisppaste5 has quit IRC | 09:19 | |
*** lisppaste5 has joined #schooltool | 09:31 | |
*** wrobel has joined #schooltool | 09:34 | |
*** jinty has joined #schooltool | 10:50 | |
*** didymo has quit IRC | 11:00 | |
*** jinty has quit IRC | 11:37 | |
*** jinty has joined #schooltool | 11:41 | |
*** jinty has quit IRC | 11:50 | |
*** jinty has joined #schooltool | 12:07 | |
*** jfroche_ has joined #schooltool | 12:31 | |
*** jfroche has quit IRC | 12:34 | |
*** alga has joined #SchoolTool | 13:24 | |
*** ignas has joined #schooltool | 14:00 | |
*** Newfie has joined #schooltool | 14:41 | |
*** jinty has quit IRC | 16:21 | |
*** jinty_ has joined #schooltool | 16:21 | |
*** wjohnsto has joined #schooltool | 16:33 | |
*** mgedmin has joined #schooltool | 17:30 | |
*** gpaci has joined #schooltool | 18:42 | |
*** gpaci has quit IRC | 19:10 | |
*** gpaci has joined #schooltool | 19:42 | |
ignas | Lumiere: ayt? | 19:53 |
---|---|---|
*** jfroche_ has quit IRC | 20:20 | |
*** pcardune has joined #schooltool | 20:54 | |
*** ignas has quit IRC | 21:20 | |
*** jfroche has joined #schooltool | 21:26 | |
*** aelkner has joined #schooltool | 21:54 | |
aelkner | pcardune: I'm here. | 21:55 |
pcardune | hi a | 21:55 |
pcardune | hi aelkner | 21:55 |
aelkner | Ok, the test would be that students can no see those two menu items. | 21:56 |
pcardune | yes | 21:57 |
*** Newfie has left #schooltool | 22:20 | |
aelkner | pcardune: how does one test for something NOT being there? I need the test to fail if Add/REmove Managers is available int he menu. | 22:21 |
pcardune | >>> 'Add/Remove Managers' not in browser.contents | 22:22 |
pcardune | True | 22:22 |
aelkner | pcardune: Remind me how to invoke the ftests | 22:26 |
pcardune | there is a test.py script in the SchoolTool directory | 22:26 |
pcardune | you want to run that with the options: | 22:26 |
pcardune | -1fm cando.journal | 22:26 |
pcardune | 1 for show only one error... f for functional tests and m for the cando.journal package | 22:27 |
aelkner | I ran: python test.py -1fm cando.journal and got the following error: | 22:30 |
aelkner | File "/home/aelkner/cando/SchoolTool/src/cando/virginia/interfaces.py", line 34, in ? | 22:30 |
aelkner | class IScoreSystemRequirement(requirement.interfaces.IRequirement): | 22:30 |
aelkner | zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/home/aelkner/cando/SchoolTool/src/cando/journal/browser/ftesting.zcml", line 10.2-10.38 | 22:30 |
aelkner | ZopeXMLConfigurationError: File "/home/aelkner/cando/SchoolTool/src/cando/virginia/configure.zcml", line 7.2-12.6 | 22:30 |
aelkner | AttributeError: 'module' object has no attribute 'interfaces' | 22:30 |
aelkner | I did an svn up before starting. | 22:30 |
aelkner | Is there something else I should do? | 22:31 |
aelkner | pcardune: ? | 22:32 |
pcardune | this is why you should have run the tests first to make sure nothing was failing already | 22:33 |
pcardune | debug it | 22:34 |
pcardune | with pdb | 22:34 |
aelkner | I wouldn't have the slightest idea where to put the pdb. The problem is with the configuration. Are you able to run the same command on your machine? | 22:37 |
aelkner | pcardune: is it a no-no to have schooltool running when truing to do functional tests? | 22:39 |
pcardune | no that is fine, it lives in an entirely separate environment | 22:39 |
aelkner | pcardune: do I need to change my python path or something? I know that schooltool_server.py adds schooltool's source to the python path itself, and it looks like test.py does as well. The import error is still happening though. Do you get this error? | 22:47 |
pcardune | nope | 22:48 |
pcardune | have you done "make run" | 22:48 |
pcardune | that is, have you ever got it successfully running? | 22:48 |
aelkner | good question. I'll try that now. | 22:49 |
aelkner | wait. of course i got it ruinning using schooltool_server.py. | 22:49 |
aelkner | pcardune: so what do you suggest if that's the case? | 22:50 |
aelkner | make run worked as well. | 22:50 |
aelkner | so there's something different happening when running test.py. | 22:51 |
pcardune | have you tried using pdb? | 22:51 |
aelkner | where? | 22:52 |
aelkner | The error is in trying to run the class statement mentioned above. It's an import error. How would one use pdb on that? | 22:53 |
*** mgedmin has quit IRC | 23:19 | |
*** alga has quit IRC | 23:46 | |
*** gpaci has quit IRC | 23:49 | |
*** wrobel has quit IRC | 23:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!