Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.recipe.template
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xavier Thompson
slapos.recipe.template
Commits
80b4a1bc
Commit
80b4a1bc
authored
Jun 12, 2024
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust tests for buildout 3
See merge request
nexedi/slapos.recipe.template!10
parent
17e6f449
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
slapos/recipe/template/README.jinja2.txt
slapos/recipe/template/README.jinja2.txt
+5
-2
slapos/recipe/template/tests.py
slapos/recipe/template/tests.py
+1
-0
No files found.
slapos/recipe/template/README.jinja2.txt
View file @
80b4a1bc
...
@@ -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',
...
...
slapos/recipe/template/tests.py
View file @
80b4a1bc
...
@@ -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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment