Commit e5df1377 authored by Xavier Thompson's avatar Xavier Thompson

[fix] Fix tests after local version label support

parent badedb8f
......@@ -2810,7 +2810,7 @@ def wont_downgrade_due_to_prefer_final():
If we install a non-final buildout version, we don't want to
downgrade just because we prefer-final. If a buildout version
isn't specified using a versions entry, then buildout's version
requirement gets set to >=CURRENT_VERSION.
requirement gets set to >=PUBLIC_PART_OF_CURRENT_VERSION.
>>> write('buildout.cfg',
... '''
......@@ -2823,7 +2823,7 @@ def wont_downgrade_due_to_prefer_final():
... if l.startswith('zc.buildout = >=')]
>>> v == pkg_resources.working_set.find(
... pkg_resources.Requirement.parse('zc.buildout')
... ).version
... ).parsed_version.public
True
>>> write('buildout.cfg',
......
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