From 5ecd7575c9c09d4ec2d8f993c5fb405388c3f3c1 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 25 Nov 2017 09:01:29 -0500 Subject: Add two tests demonstrating that requires.txt generation is deterministic. Ref #458. --- setuptools/tests/test_egg_info.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'setuptools/tests/test_egg_info.py') diff --git a/setuptools/tests/test_egg_info.py b/setuptools/tests/test_egg_info.py index d4b79d63..0810ee3b 100644 --- a/setuptools/tests/test_egg_info.py +++ b/setuptools/tests/test_egg_info.py @@ -230,6 +230,20 @@ class TestEggInfo(object): # # expected contents of requires.txt + ''' + install_requires_deterministic + + install_requires=["fake-factory==0.5.2", "pytz"] + + [options] + install_requires = + fake-factory==0.5.2 + pytz + + fake-factory==0.5.2 + pytz + ''', + ''' install_requires_with_marker -- cgit v1.2.3