zope/testing/testrunner/runner.py's order_by_bases() function orders
layers by inheritance, basically. So if you've got a
FunctionalTestLayer that inherits from some BasicTestLayer, the tests
that use the basic test layer will be executed before the functional
test layer ones.
If there's no
On Mon, Jul 13, 2009 at 09:27:54AM +, Reinout van Rees wrote:
zope/testing/testrunner/runner.py's order_by_bases() function orders
layers by inheritance, basically. So if you've got a
FunctionalTestLayer that inherits from some BasicTestLayer, the tests
that use the basic test layer will
Am 12.07.2009 um 01:46 schrieb Roger Ineichen:
Hi Michael
Betreff: [Zope-dev] z3c.form: data manager
forPersistentDict/PersistentMapping
Hello,
z3c.form.datamanager.DictionaryField is a data manager which
is registered for fields on a dict. In its __init__ it checks
whether the data
Am 11.07.2009 um 17:43 schrieb Michael Howitz:
Hello,
z3c.form.datamanager.DictionaryField is a data manager which is
registered for fields on a dict. In its __init__ it checks whether the
data object is an instance of dict. So this data manager does neither
work for UserDict nor
We've started a new package, five.hashedresource, that is supposed to
integrate z3c.hashedresource into Zope2. Just to make sure not to step on
someone's toes: is it OK to just create such a package in that namespace?
--
Thomas
___
Zope-Dev maillist
On Mon, Jul 13, 2009 at 1:28 PM, Thomas Lotzetho...@thomas-lotze.de wrote:
We've started a new package, five.hashedresource, that is supposed to
integrate z3c.hashedresource into Zope2. Just to make sure not to step on
someone's toes: is it OK to just create such a package in that namespace?
On 2009-07-13, Marius Gedminas mar...@gedmin.as wrote:
Whatever grok does that interferes with coverage should be fixed.
I did some more debugging. In the end it boils down to this:
With z3c.testsetup, you can specify a zcml file at the top of your test file.
z3c.testsetup creates a ZCMLLayer
On Mon, Jul 13, 2009 at 5:55 AM, Marius Gedminasmar...@gedmin.as wrote:
Personally I would much prefer for the unit test layer to be sorted
first. It is already treated specially by zope.testing; I see no harm
in hardcoding its sort order.
+1
--
Benji York
Senior Software Engineer
Zope
On Saturday 11 July 2009, Michael Howitz wrote:
z3c.form.datamanager.DictionaryField is a data manager which is
registered for fields on a dict. In its __init__ it checks whether the
data object is an instance of dict. So this data manager does neither
work for UserDict nor
On Mon, Jul 13, 2009 at 12:27:50PM +, Reinout van Rees wrote:
On 2009-07-13, Marius Gedminas mar...@gedmin.as wrote:
Whatever grok does that interferes with coverage should be fixed.
I did some more debugging. In the end it boils down to this:
With z3c.testsetup, you can specify a
On Mon, Jul 13, 2009 at 3:36 PM, Marius Gedminasmar...@gedmin.as wrote:
Fortunately, the NotImplementedError in ZCMLLayer's tearDown is just a
precaution, 99% of the time it is sufficient to run CleanUp.tearDown
to get the global state restored to its pristine condition.
Keep in mind that a
11 matches
Mail list logo