On Mon, Jul 28, 2003 at 02:49:33PM -0400, Casey Duncan wrote:
> You can usually commit a subtransaction to get a _p_jar and oid (I think) set.
> You can still abort this at the end of the test to clean up.
yep, this seems to work very nicely! Thanks Casey!
def setUp(self):
...
get_transact
You can usually commit a subtransaction to get a _p_jar and oid (I think) set.
You can still abort this at the end of the test to clean up.
hth,
-Casey
On Monday 28 July 2003 12:39 pm, Paul Winkler wrote:
> I'm trying to write a functional test that verifies that an instance
> of my Product wor
I'm trying to write a functional test that verifies that an instance
of my Product works correctly after it's been exported and re-imported.
I'm stuck on how to give the test object a valid _p_oid which is needed
to do the export.
Background:
This Product is a dynamic content object for CMF. Its b