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
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
isaak yansane-sisk
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
import
zc.buildout.testing
def
buildout_error_handling
():
r
'''
Buildout error handling
r
"""
Buildout error handling
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:
It is an error to create a variable-reference cycle:
>>> write(sample_buildout, 'buildout.cfg',
...
"""
...
'''
... [buildout]
... develop = recipes
... parts = data_dir debug
... x = ${buildout:y}
... y = ${buildout:z}
... z = ${buildout:x}
...
"""
)
...
'''
)
>>> print system(os.path.join(sample_buildout, 'bin', 'buildout')),
... # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
...
...
@@ -60,8 +60,7 @@ It is an error to create a variable-reference cycle:
ValueError: ('Circular references',
[('buildout', 'y'), ('buildout', 'z'), ('buildout', 'x')],
('buildout', 'y'))
'''
"""
def
linkerSetUp
(
test
):
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