Re: [Zope3-Users] using zope.testing's testrunner outside of zope
Stephan Richter wrote: On Friday 01 February 2008, Chris Withers wrote: Stephan Richter wrote: If you use buildout, there is a recipe for creating a test runner. See http://svn.zope.org/zope.kgs/trunk/?rev=83325 for a good example. Where's the actual test runner or test runner creater? [test] recipe = zc.recipe.testrunner eggs = zope.kgs [test] Ah, okay, so what actually is zc.recipe.testrunner? I thought the testrunner was in zope.testing.testrunner... I feel like I'm missing a lot here, is there documentation I can read to catch up on this? Also, what's the best way to indicate in setup.py that my package needs zope.testing for the tests? There is a test option, where you can list all packages that should be installed for testing. See http://svn.zope.org/zope.component/trunk/setup.py?rev=81358view=auto What's the difference between tests_require and extras_require['test']? tests_require contains a list of test dependencies that setuptools uses for its integrated test support. Unfortunately, this lsit is not exposed, so buildout cannot use it. So instead, we use extras_require['test'] to provide that same list. Ah, okay... so I only need to worry about extras_require if I want to support buildout? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] FAQ to review (KGS / starting a new project)
Hi, I have added two entries in the FAQ: What is the KGS (Known Good Set)? http://wiki.zope.org/zope3/FAQGeneral#id8 How do I start a new Zope3 project? http://wiki.zope.org/zope3/FAQGeneral#id9 Please review in case I did some error or I forgot something. Christophe ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] SessionCredentialsPlugin + z3c.pagelets/z3c.form
Hi, I'm currently trying to integrate the SessionCredentialsPlugin with z3c.pagelets / z3c.form. I currently set up a simple z3c.form-based login page and configured the loginfield/passwordfield to form.widgets.login/password. Now I can login, but I still have some problems: 1) I'd like to be redirected to the login field when the user accesses unauthorized pages. This seems not to work as there is the following error: TypeError: There isn't enough context to get URL information. This is probably due to a bug in setting up location information. Moreover, I'd like to redirect the user to the original page, would I implement this in the form's update() method or somewhere else? 2) I'd like to display some error in the login page, e.g. incorrect login/password combination in case the user enters invalid data - how could this be handled? 3) How could I implement a logout button/page? Best Regards, Hermann -- [EMAIL PROTECTED] GPG key ID: 299893C7 (on keyservers) FP: 0124 2584 8809 EF2A DBF9 4902 64B4 D16B 2998 93C7 ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Zope translation status
Am Montag, 4. Februar 2008 22:51 schrieb Christophe Combelles: Below is the translation status of Zope 3.4.0c1, as generated by the i18nstats tool. Is there anyone willing to update the translation for his/her language before 3.4.0 final is (soon) released? Maybe I could do so for german (although there's only 0.3% missing) if you tell me how to do and where to start... Best Regards, Hermann -- [EMAIL PROTECTED] GPG key ID: 299893C7 (on keyservers) FP: 0124 2584 8809 EF2A DBF9 4902 64B4 D16B 2998 93C7 ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Zope translation status
Below is the translation status of Zope 3.4.0c1, as generated by the i18nstats tool. Is there anyone willing to update the translation for his/her language before 3.4.0 final is (soon) released? LanguageTotalDoneNot DoneFuzzy Done % == de 13551351 31 99.70 % es 1390 463 669 258 33.31 % fr 13711371 00100.00 % hu 13901211 66 113 87.12 % it 13901325 53 12 95.32 % ja 13901304 25 61 93.81 % pl 1390 1591173 58 11.44 % pt_BR1390 886 291 213 63.74 % ru 13711348 5 18 98.32 % tr 1390 1001252 38 7.19 % zh_CN13901310 746 94.24 % zh_TW13901211 66 113 87.12 % ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users