Commit 80b4a1bc authored by Xavier Thompson's avatar Xavier Thompson

Adjust tests for buildout 3

See merge request nexedi/slapos.recipe.template!10
parent 17e6f449
...@@ -129,7 +129,8 @@ Remove rendered file and re-render:: ...@@ -129,7 +129,8 @@ Remove rendered file and re-render::
Uninstalling template. Uninstalling template.
Installing template. Installing template.
The template install returned None. A path or iterable os paths should be returned. The template install returned None. A path or iterable os paths should be returned.
Unused options for template: 'extra'. Section `template` contains unused option(s): 'extra'.
This may be an indication for either a typo in the option's name or a bug in the used recipe.
Template was not rendered:: Template was not rendered::
...@@ -145,7 +146,8 @@ Removing the canary allows template to be re-rendered:: ...@@ -145,7 +146,8 @@ Removing the canary allows template to be re-rendered::
Uninstalling template. Uninstalling template.
Installing template. Installing template.
The template install returned None. A path or iterable os paths should be returned. The template install returned None. A path or iterable os paths should be returned.
Unused options for template: 'extra'. Section `template` contains unused option(s): 'extra'.
This may be an indication for either a typo in the option's name or a bug in the used recipe.
>>> cat('foo_once') >>> cat('foo_once')
dummy dummy
...@@ -249,6 +251,7 @@ Let's create a sample recipe modifying its option dict:: ...@@ -249,6 +251,7 @@ Let's create a sample recipe modifying its option dict::
... from setuptools import setup ... from setuptools import setup
... ...
... setup(name='samplerecipe', ... setup(name='samplerecipe',
... py_modules=['main'],
... entry_points = { ... entry_points = {
... 'zc.buildout': [ ... 'zc.buildout': [
... 'default = main:Recipe', ... 'default = main:Recipe',
......
...@@ -79,6 +79,7 @@ def test_suite(): ...@@ -79,6 +79,7 @@ def test_suite():
normalize_setuptools_42, normalize_setuptools_42,
normalize_cryptography_3_on_python2, normalize_cryptography_3_on_python2,
normalize_server, normalize_server,
testing.root_logger_messages,
) + normalize_networkcache), ) + normalize_networkcache),
) for filename in [ ) for filename in [
'README.txt', 'README.txt',
......
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