Commit dbb27169 authored by Rafael Monnerat's avatar Rafael Monnerat

Fix Tests (follow up buildout verbosity).

parent f0e16ee0
...@@ -48,6 +48,10 @@ We run buildout:: ...@@ -48,6 +48,10 @@ We run buildout::
>>> print system(join('bin', 'buildout')), >>> print system(join('bin', 'buildout')),
Installing template. Installing template.
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../setuptools/
Not found: /tmp/.../setuptools/
And the template has been rendered:: And the template has been rendered::
...@@ -177,6 +181,10 @@ Use jinja2 extensions ...@@ -177,6 +181,10 @@ Use jinja2 extensions
>>> print system(join('bin', 'buildout')), >>> print system(join('bin', 'buildout')),
Uninstalling template. Uninstalling template.
Installing template. Installing template.
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../setuptools/
Not found: /tmp/.../setuptools/
>>> cat('foo') >>> cat('foo')
foo, template foo, template
...@@ -204,6 +212,10 @@ Compute template's MD5 sum:: ...@@ -204,6 +212,10 @@ Compute template's MD5 sum::
>>> print system(join('bin', 'buildout')), >>> print system(join('bin', 'buildout')),
Uninstalling template. Uninstalling template.
Installing template. Installing template.
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../setuptools/
Not found: /tmp/.../setuptools/
>>> cat('foo') >>> cat('foo')
template template
...@@ -223,10 +235,14 @@ If the md5sum doesn't match, the buildout fail:: ...@@ -223,10 +235,14 @@ If the md5sum doesn't match, the buildout fail::
... md5sum = 0123456789abcdef0123456789abcdef ... md5sum = 0123456789abcdef0123456789abcdef
... ''') ... ''')
>>> print system(join('bin', 'buildout')), >>> print system(join('bin', 'buildout')),
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../setuptools/
Not found: /tmp/.../setuptools/
While: While:
Installing. Installing.
Getting section template. Getting section template.
Initializing part template. Initializing section template.
Error: MD5 checksum mismatch for local resource at 'foo.in'. Error: MD5 checksum mismatch for local resource at 'foo.in'.
...@@ -251,6 +267,10 @@ You can specify the mode for rendered file:: ...@@ -251,6 +267,10 @@ You can specify the mode for rendered file::
>>> print system(join('bin', 'buildout')), >>> print system(join('bin', 'buildout')),
Uninstalling template. Uninstalling template.
Installing template. Installing template.
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../setuptools/
Not found: /tmp/.../setuptools/
And the generated file with have the right permissions:: And the generated file with have the right permissions::
...@@ -289,6 +309,10 @@ imported:: ...@@ -289,6 +309,10 @@ imported::
>>> print system(join('bin', 'buildout')), >>> print system(join('bin', 'buildout')),
Uninstalling template. Uninstalling template.
Installing template. Installing template.
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../setuptools/
Not found: /tmp/.../setuptools/
>>> cat('bar') >>> cat('bar')
FOO ! FOO !
...@@ -310,6 +334,10 @@ Just like context definition, it also works with indirect values:: ...@@ -310,6 +334,10 @@ Just like context definition, it also works with indirect values::
>>> print system(join('bin', 'buildout')), >>> print system(join('bin', 'buildout')),
Uninstalling template. Uninstalling template.
Installing template. Installing template.
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../setuptools/
Not found: /tmp/.../setuptools/
>>> cat('bar') >>> cat('bar')
FOO ! FOO !
...@@ -354,6 +382,10 @@ All templates can be accessed inside both folders:: ...@@ -354,6 +382,10 @@ All templates can be accessed inside both folders::
>>> print system(join('bin', 'buildout')), >>> print system(join('bin', 'buildout')),
Uninstalling template. Uninstalling template.
Installing template. Installing template.
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../setuptools/
Not found: /tmp/.../setuptools/
>>> cat('bar') >>> cat('bar')
a1foo a1foo
a2foo a2foo
...@@ -392,6 +424,10 @@ path):: ...@@ -392,6 +424,10 @@ path)::
>>> print system(join('bin', 'buildout')), >>> print system(join('bin', 'buildout')),
Uninstalling template. Uninstalling template.
Installing template. Installing template.
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../setuptools/
Not found: /tmp/.../setuptools/
>>> cat('bar') >>> cat('bar')
a1foo a1foo
a2foo a2foo
...@@ -425,6 +461,10 @@ will be installed as dependency:: ...@@ -425,6 +461,10 @@ will be installed as dependency::
foobar='dependency content' foobar='dependency content'
recipe='zc.buildout:debug' recipe='zc.buildout:debug'
Installing template. Installing template.
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../setuptools/
Not found: /tmp/.../setuptools/
This way you can get options which are computed in the ``__init__`` of This way you can get options which are computed in the ``__init__`` of
the dependent recipe. the dependent recipe.
...@@ -478,6 +518,10 @@ Let's just use ``buildout.cfg`` using this egg:: ...@@ -478,6 +518,10 @@ Let's just use ``buildout.cfg`` using this egg::
Uninstalling dependency. Uninstalling dependency.
Installing sample. Installing sample.
Installing template. Installing template.
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../setuptools/
Not found: /tmp/.../setuptools/
>>> cat('foo') >>> cat('foo')
foobar foobar
...@@ -28,6 +28,10 @@ We run buildout:: ...@@ -28,6 +28,10 @@ We run buildout::
>>> print system(join('bin', 'buildout')), >>> print system(join('bin', 'buildout')),
Installing template. Installing template.
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../setuptools/
Not found: /tmp/.../setuptools/
And the output file has been parsed by buildout itself:: And the output file has been parsed by buildout itself::
...@@ -76,6 +80,10 @@ And run buildout, and see the result:: ...@@ -76,6 +80,10 @@ And run buildout, and see the result::
>>> print system(join('bin', 'buildout')), >>> print system(join('bin', 'buildout')),
Uninstalling template. Uninstalling template.
Installing template. Installing template.
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../setuptools/
Not found: /tmp/.../setuptools/
>>> cat('template.out') >>> cat('template.out')
template template
...@@ -94,10 +102,14 @@ If the md5sum doesn't match, the buildout fail:: ...@@ -94,10 +102,14 @@ If the md5sum doesn't match, the buildout fail::
... md5sum = 0123456789abcdef0123456789abcdef ... md5sum = 0123456789abcdef0123456789abcdef
... ''') ... ''')
>>> print system(join('bin', 'buildout')), >>> print system(join('bin', 'buildout')),
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../setuptools/
Not found: /tmp/.../setuptools/
While: While:
Installing. Installing.
Getting section template. Getting section template.
Initializing part template. Initializing section template.
Error: MD5 checksum mismatch for local resource at 'template.in'. Error: MD5 checksum mismatch for local resource at 'template.in'.
...@@ -123,6 +135,10 @@ You can specify the mode of the written file:: ...@@ -123,6 +135,10 @@ You can specify the mode of the written file::
>>> print system(join('bin', 'buildout')), >>> print system(join('bin', 'buildout')),
Uninstalling template. Uninstalling template.
Installing template. Installing template.
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../setuptools/
Not found: /tmp/.../setuptools/
And the generated file with have the right permissions:: And the generated file with have the right permissions::
...@@ -158,6 +174,10 @@ will be installed as dependency:: ...@@ -158,6 +174,10 @@ will be installed as dependency::
foobar='dependency content' foobar='dependency content'
recipe='zc.buildout:debug' recipe='zc.buildout:debug'
Installing template. Installing template.
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../setuptools/
Not found: /tmp/.../setuptools/
This way you can get options which are computed in the ``__init__`` of This way you can get options which are computed in the ``__init__`` of
the dependent recipe. the dependent recipe.
...@@ -210,5 +230,9 @@ Let's just use ``buildout.cfg`` using this egg:: ...@@ -210,5 +230,9 @@ Let's just use ``buildout.cfg`` using this egg::
Uninstalling dependency. Uninstalling dependency.
Installing sample. Installing sample.
Installing template. Installing template.
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../zc.buildout/
Not found: /tmp/.../setuptools/
Not found: /tmp/.../setuptools/
>>> cat('template.out') >>> cat('template.out')
foobar foobar
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment