The following supporters have open issues assigned to them in this collector
(http://www.zope.org/Collectors/CMF).
Assigned and Open
efge
- "CMFSetup: provide non-ascii im- and exports",
[Accepted] http://www.zope.org/Collectors/CMF/292
- "CMFSetup doesn't correctly detect DCWo
Stefan H. Holek wrote:
I see two options:
a) Use a different portal name
portal_name = 'mysite'
CMFTestCase.setupCMFSite(portal_name)
Can setupCMFSite not do something more clever if it finds the object
already there?
b) Use getPortal() to create a new portal per test
def get
On 10/5/05, Chris Withers <[EMAIL PROTECTED]> wrote:
> Stefan H. Holek wrote:
> > I see two options:
> >
> > a) Use a different portal name
> >
> > portal_name = 'mysite'
> > CMFTestCase.setupCMFSite(portal_name)
>
> Can setupCMFSite not do something more clever if it finds the object
> alr
Oh, setupCMFSite is sufficiently clever, it's the CMF tests that
aren't ;-)
Stefan
On 5. Okt 2005, at 10:45, Chris Withers wrote:
Stefan H. Holek wrote:
I see two options:
a) Use a different portal name
portal_name = 'mysite'
CMFTestCase.setupCMFSite(portal_name)
Can setupCMFSi
Lennart Regebro said:
> On 10/5/05, Chris Withers <[EMAIL PROTECTED]> wrote:
>> Stefan H. Holek wrote:
>> > I see two options:
>> >
>> > a) Use a different portal name
>> >
>> > portal_name = 'mysite'
>> > CMFTestCase.setupCMFSite(portal_name)
>>
>> Can setupCMFSite not do something more cl
Related to the thread about how best to set up CMFTestCase...
I'm just wondering if I'm doing anything non-kosher by deriving
from both CMFTestCase and ZopeTestCase.Sandboxed, which
theoretically should prevent any ZODB-pollution as long as I don't
do the global CMF site setup.
It mostly seems to
Hi again :)
I'm trying to use CMFTestCase along with ZopeTestCase.Functional
to test my skin scripts. But how do I get them set up
properly? Anybody have working examples of this? I wondered
if there might be some in the Plone test suites but if so I
didn't find any.
Example that fails because "
def test_DocView(self):
url = self.doc1.absolute_url_path()
import pdb; pdb.set_trace()
response = self.publish(url, self.basic_auth)
Some stepping around with pdb reveals this:
(Pdb) n
/zope/ZopeSoftwareHome/lib/python/ZPublisher/Publish.py(101)publish()
->
Answering my own post, I just discovered something else:
Paul Winkler said:
> It mostly seems to work, but as far as I can tell, you *must*
> inherit in exactly that order, i.e.
>
> class MyTest(ZopeTestCase.Sandboxed, CMFTestCase.CMFTestCase):
As it turns out, even with my modification to setupC
Jens Vagelpohl said:
>> def test_DocView(self):
>> url = self.doc1.absolute_url_path()
>> import pdb; pdb.set_trace()
>> response = self.publish(url, self.basic_auth)
>>
>>
>> Some stepping around with pdb reveals this:
>>
>> (Pdb) n
>>
>>> /zope/ZopeSoftwareHome/li
Paul Winkler said:
> Answering my own post, I just discovered something else:
(snip)
> If you inherit in the other order, e.g.
> class Foo(CMFTestCase.CMFTestCase, ZopeTestCase.Sandboxed),
> then you have to be sure you've deleted anything
> that might still be around in beforeTearDown().
> So I gu
On 5 Oct 2005, at 23:07, Paul Winkler wrote:
-> request, bind=1)
(Pdb) n
NotFound: 'document_view'
The machinery doesn't know which skin is selected I presume. You can
"force" it by calling "changeSkin" on the skinnable object manager
(the portal is one) to select a skin path as set up in the
On 5. Okt 2005, at 23:27, Paul Winkler wrote:
I'm trying to use CMFTestCase along with ZopeTestCase.Functional
to test my skin scripts. But how do I get them set up
properly? Anybody have working examples of this? I wondered
if there might be some in the Plone test suites but if so I
didn't fi
Jens Vagelpohl said:
>>> The machinery doesn't know which skin is selected I presume. You can
>>> "force" it by calling "changeSkin" on the skinnable object manager
>>> (the portal is one) to select a skin path as set up in the skins
>>> tool:
>>>
>>> self.portal.changeSkin('Nouvelle')
>>>
>>
>> Th
Paul Winkler wrote:
Hi again :)
I'm trying to use CMFTestCase along with ZopeTestCase.Functional
to test my skin scripts. But how do I get them set up
properly? Anybody have working examples of this? I wondered
if there might be some in the Plone test suites but if so I
didn't find any.
Exampl
15 matches
Mail list logo