--- In [EMAIL PROTECTED], Lalo Martins [EMAIL PROTECTED] wrote:
snip
We first conceived it as a kind of Zope-based version of
unittestgui.py - you create a "TestRunner" object giving it the
package, module and name of a TestSuite object generator (see
the PyUnit documentation) and inside it
Toby Dickenson and Brian Lloyd wrote:
list.append(DisplayClass(name,self))
list.append(DisplayClass(name,self).__of__(self))
class DisplayClass(Globals.Persistent):
class DisplayClass(Globals.Persistent, Acquisition.Implicit):
Okay, this did the
What do people think of this? What does DC think of this? Can I
go ahead and develop it in this direction?
For our XP endeavors, we've developed a testing framework we call
SimpleTest, which tests our systems using HTTP requests. Tests are
written in XML, along the lines of:
?xml
The WriteLocking RiskFactors artifact has had some new work done on it and
I'm interested in some editorial comments and review before work begins on
Architecture and UseCases.
http://dev.zope.org/Wikis/DevSite/Projects/WriteLocking/RiskFactors
Make any comments you have at:
I have developed a flock of Python products that have attributes
'first_date', 'last_date', and 'ok_to_publish' with the intention that
these attributes will be set by the content managers. Each product also has
an 'isPublishable' method that returns true if 'ok_to_publish' is true
_and_
Lalo Martins [EMAIL PROTECTED] writes:
Then I figured in the long run a Product isn't the best
sollution; instead, fiddling with App/Product* sounds more like
it, to allow developers to register tests just like they
register classes, ZClass superclasses, _misc and help. Of
course, just like
In article a05001900b61b0b6ac87c@[10.0.1.2],
Itai Tavor [EMAIL PROTECTED] wrote:
- I'm not sure how to customize a UserSource to access the
propertysheets on the Customer and Reseller classes. The easiest way
seems to be to define userExists, userRoles and userAuthenticate
methods in a
And now the big question...
How do you migrate and existing application from ZClasses to Python
products? I've got about 50,000 objects. Can it be done or am I stuck
with ZClasses?
Hopefully,
Jason Spisak
CIO
HireTechs.com
6151 West Century Boulevard
Suite 900
Los Angeles, CA 90045
P.
Write a Python Method (install the PythonMethods product first) called say,
publishableObjectValues that does that:
paramself/param
# functions that returns publishable objects
result = []
for o in self.objectValues():
if o.isPublishable(): result.append(o)
return result
--
Itamar
Ty Sarna wrote:
Unfortunately there are a lot of things that Zope just can't do because
there is no way to get a persistent "ticket" for an object that can be
handed out to some external system, and then later redeemed for the
(properly wrapped) object. Pathnames are not useful, because they
Andy McKay writes:
Cool Project...
That means I'm screwed. :)
And now the big question...
How do you migrate and existing application from ZClasses to Python
products? I've got about 50,000 objects. Can it be done or am I stuck
with ZClasses?
Well the number of objects doesnt
DataSkinAddons 0-0-2
http://www.zope.org/Members/stevea/DataSkinAddons
Changes:
DataSkinAddons 0-0-2, 24 October 2000
DataSkinAddons 0-0-2 works with ZPatterns-0-4-3b1 and Zope 2.2 only
Various changes to CatalogTrigger to bring it in line with the
new Expressions module from ZPatters
Morten W. Petersen wrote:
I've managed using the ZCatalog now. However, I have a small problem:
When I instansiate a ZCatalog at the root of a tree, and search
for all objects matching a given meta-type, all the objects in
the entire tree are returned.
Is there a way to instruct the
Okay, this did the trick, but I'm not very happy with the result :-(
I don't want the DisplayClass to be acquiring and I don't really see
(from a moral standpoint ;-) why I should need to mix in an Acquisiton
class to make security work :-S
I suspect that was a rhetorical question, but ill
On 24 Oct 2000 15:14:24 GMT, [EMAIL PROTECTED] (Ty Sarna) wrote:
Unfortunately there are a lot of things that Zope just can't do because
there is no way to get a persistent "ticket" for an object that can be
handed out to some external system, and then later redeemed for the
(properly wrapped)
Michel Pelletier wrote:
We will be conducting a community poll to decide what to call Python
(Perl, insert your language here) Methods.
[snip]
So, before the poll, we are calling for nominiations from the
community. Please send me an email containing one or more candidate
names. These
16 matches
Mail list logo