[Checkins] SVN: grokproject/trunk/tests.txt Extend tests.

Uli Fouquet uli at gnufix.de
Wed Oct 1 05:33:48 EDT 2008


Hi Michael,

Michael Haubenwallner wrote:
> Uli Fouquet wrote:
> > Log message for revision 91422:
> >   Extend tests.
> > 
> > Changed:
> >   U   grokproject/trunk/tests.txt
> > 
> > -=-
> > Modified: grokproject/trunk/tests.txt
> > ===================================================================
> > --- grokproject/trunk/tests.txt	2008-09-24 12:30:32 UTC (rev 91421)
> > +++ grokproject/trunk/tests.txt	2008-09-24 12:30:53 UTC (rev 91422)
> > @@ -155,3 +155,50 @@
> >      Tearing down left over layers:
> >        Tear down grokexample.FunctionalLayer ... not supported
> >  
> > +Using the generated `buildout` script
> > +-------------------------------------
> > +
> > +We can call the `buildout` script of the freshly generated
> > +project. For this to work, we have to switch to the project directory
> > +first::
> > +
> > +    >>> cd(package_dir)
> > +    >>> cmd = os.path.join(bin_dir, 'buildout')
> > +    >>> output = read_sh(cmd)
> > +    >>> print output
> > +    Develop: '...'
> > +    Updating eggbasket.
> > +    Updating app.
> > +    Generated script '...runzope'.
> > +    Generated script '...debugzope'.
> > +    Updating data.
> > +    Updating zopectl.
> > +    Generated script '...zopectl'.
> > +    Updating i18n.
> > +    The recipe for i18n doesn't define an update method. ...
> > +    i18n: setting up i18n tools
> > +    Generated script '...i18nextract'.
> > +    Generated script '...i18nmergeall'.
> > +    Generated script '...i18nstats'.
> > +    Updating test.
> > +    Generated script '...test'.
> > +
> 
> Hi Uli, you added the tests last week.
> I am testing with grok-014 now and the tests have failures.

Same here. They worked when I checked them in (and 0.13 was the current
release). Now I also miss the 'Generated...' lines. Thanks for the hint!

> Any idea where the runzope and debugzope scripts come from?

Should be ``zc.zope3recipes``. The scripts should still be generated (in
parts/app).

> Maybe a customized buildout.cfg_tmpl that is not in the source?

No, checked it. All changed files were checked in, no local additions.

> There must be another hidden issue, because i am missing all 'Generated
> script ...' lines in the test output except for the "Generated script
> '...zopectl'." Not sure what changed here with the recent release.

Maybe something not pinned down until 0.14? I'll update the tests, when
I found the reason for the changed behaviour. If you have an idea,
please contact me via PM or move the discussion to grok-dev.

Regards,

-- 
Uli




More information about the Checkins mailing list