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
Xavier Thompson
slapos.buildout
Commits
573803d0
Commit
573803d0
authored
Jan 31, 2017
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rearranged test and added text to make intent clearer.
parent
c33f38e2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
src/zc/buildout/tests.py
src/zc/buildout/tests.py
+11
-5
No files found.
src/zc/buildout/tests.py
View file @
573803d0
...
@@ -3082,17 +3082,23 @@ def test_buildout_doesnt_keep_adding_itself_to_versions():
...
@@ -3082,17 +3082,23 @@ def test_buildout_doesnt_keep_adding_itself_to_versions():
>>> with open('versions.cfg') as f:
>>> with open('versions.cfg') as f:
... versions = f.read()
... versions = f.read()
>>> _ = system(join('bin', 'buildout'))
>>> _ = system(join('bin', 'buildout'))
>>> _ = system(join('bin', 'buildout'))
>>> _ = system(join('bin', 'buildout'))
On the first run, some pins were added:
>>> with open('versions.cfg') as f:
... versions == f.read()
True
>>> cat('versions.cfg') # doctest: +ELLIPSIS
>>> cat('versions.cfg') # doctest: +ELLIPSIS
[versions]
[versions]
<BLANKLINE>
<BLANKLINE>
# Added by buildout...
# Added by buildout...
setuptools = 34.0.3
setuptools = 34.0.3
...
...
>>> _ = system(join('bin', 'buildout'))
>>> _ = system(join('bin', 'buildout'))
Subsequent runs didn't add additional text:
>>> with open('versions.cfg') as f:
... versions == f.read()
True
"""
"""
if
sys
.
platform
==
'win32'
:
if
sys
.
platform
==
'win32'
:
...
...
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