Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos.buildout
Commits
e8f84238
Commit
e8f84238
authored
Jul 03, 2006
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reformatting
parent
de24ef47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/zc/buildout/tests.py
src/zc/buildout/tests.py
+4
-5
No files found.
src/zc/buildout/tests.py
View file @
e8f84238
...
@@ -21,7 +21,7 @@ from zope.testing import doctest, renormalizing
...
@@ -21,7 +21,7 @@ from zope.testing import doctest, renormalizing
import
zc.buildout.testing
import
zc.buildout.testing
def
buildout_error_handling
():
def
buildout_error_handling
():
r
'''
Buildout error handling
r
"""
Buildout error handling
Asking for a section that doesn't exist, yields a key error:
Asking for a section that doesn't exist, yields a key error:
...
@@ -44,14 +44,14 @@ Asking for an option that doesn't exist, a MissingOption error is raised:
...
@@ -44,14 +44,14 @@ Asking for an option that doesn't exist, a MissingOption error is raised:
It is an error to create a variable-reference cycle:
It is an error to create a variable-reference cycle:
>>> write(sample_buildout, 'buildout.cfg',
>>> write(sample_buildout, 'buildout.cfg',
...
"""
...
'''
... [buildout]
... [buildout]
... develop = recipes
... develop = recipes
... parts = data_dir debug
... parts = data_dir debug
... x = ${buildout:y}
... x = ${buildout:y}
... y = ${buildout:z}
... y = ${buildout:z}
... z = ${buildout:x}
... z = ${buildout:x}
...
"""
)
...
'''
)
>>> print system(os.path.join(sample_buildout, 'bin', 'buildout')),
>>> print system(os.path.join(sample_buildout, 'bin', 'buildout')),
... # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
... # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
...
@@ -60,8 +60,7 @@ It is an error to create a variable-reference cycle:
...
@@ -60,8 +60,7 @@ It is an error to create a variable-reference cycle:
ValueError: ('Circular references',
ValueError: ('Circular references',
[('buildout', 'y'), ('buildout', 'z'), ('buildout', 'x')],
[('buildout', 'y'), ('buildout', 'z'), ('buildout', 'x')],
('buildout', 'y'))
('buildout', 'y'))
"""
'''
def
linkerSetUp
(
test
):
def
linkerSetUp
(
test
):
zc
.
buildout
.
testing
.
buildoutSetUp
(
test
,
clear_home
=
False
)
zc
.
buildout
.
testing
.
buildoutSetUp
(
test
,
clear_home
=
False
)
...
...
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