Re: [Zope3-dev] Zope 3 releases?

2007-10-12 Thread Ignas Mikalajunas
- We need to decide what a Zope 3 release is (or maybe multiple flavors). I favor copying the linux experiences, but have an open mind. I'm not sure what you mean with that, I mean we need to decide what a release is. Having a list of promises with the decision of what a release is

[Zope3-dev] Is Zope3.4 eggs going to be backwards compatible with Zope3.3 zpkg?

2007-04-18 Thread Ignas Mikalajunas
Hi, I have accidentally tried upgrading from Zope3.3 branch checkout to Zop3.4 eggs, and it seems that at least: include package=zope.app / instead of throwing a deprecation warning (the way switching to Zope3.4 branch does IIRC) just stopped working. Is there something wrong with my setup or

[Zope3-dev] Functional test server to interactively inspect the state of the application in a functional test

2007-02-15 Thread Ignas Mikalajunas
I have developed a small tool that allows me to connect to an application running in a functional test. I think it would be a nice addition to zope.testing. The usage is very simple. I just add startServer to my functional test globs and in a functional test do: startServer(http, manager.url,

[Zope3-dev] Patch that adds domain verification to zope.app.locales.extract py_strings

2007-01-31 Thread Ignas Mikalajunas
Hi, this patch adds the capability to turn on translation domain verification if files that are being translated can be imported from the pythonpath you are running the extraction with. In SchoolTool we have more than one domain in python files and I just needed to add the verification (was

Re: [Zope3-dev] RFC: test.py --list-modules

2007-01-14 Thread Ignas Mikalajunas
I am also thinking about two other options: * --list-files -- essentially the same as --list-modules, but outputs file names instead of module names. * --list-tests -- apply package and module filters, import the modules, apply test name and layer filters, then list just the names

[Zope3-dev] test for security in unit tests?

2006-09-29 Thread Ignas Mikalajunas
Roy Mathew wrote: I find that testing for security is hard, since the default user in the doctests seems to have unrestricted access to all methods and attributes. Is there a unit-test friendly way of faking a user with a more restricted role, so that I can reproduce security errors in unit

Re: [Zope3-dev] Re: OT: pytz

2006-07-28 Thread Ignas Mikalajunas
Thanks. I'd seen localize() in the README but all the examples have an explicit is_dst passed which I didn't want. I didn't realize that without it it would guess the right one (except during the 1h ambiguous period). Florent The is_dst parameter is more like If it is ambiguous prefer DST,