Commit c66492d9 authored by Reinout van Rees's avatar Reinout van Rees

Added test for not printing versions if nothing has been picked.

Possible problem: distribute is also reported as have-to-pick. So I
pinned it to 0.6.34, the current value. It might bite us later on, I fear.
I don't know enough about the setup to be sure.
parent f45a588b
...@@ -260,6 +260,25 @@ versions it picked at the end of its run: ...@@ -260,6 +260,25 @@ versions it picked at the end of its run:
distribute = 0.6.99 distribute = 0.6.99
spam = 2 spam = 2
When everything is pinned, no output is generated:
>>> write('buildout.cfg',
... '''
... [buildout]
... parts = foo
... find-links = %s
... show-picked-versions = true
...
... [versions]
... distribute = 0.6.34
... spam = 2
...
... [foo]
... recipe = spam
... ''' % join('recipe', 'dist'))
>>> print_(system(buildout), end='') # doctest: +ELLIPSIS
Updating foo.
recipe v2
Controlling the python version Controlling the python version
......
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