aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-11-25 09:01:29 -0500
committerJason R. Coombs <jaraco@jaraco.com>2017-11-25 09:05:58 -0500
commit5ecd7575c9c09d4ec2d8f993c5fb405388c3f3c1 (patch)
tree872a4d67c766fb6193ee62f3fefde3aa2dbfb10d
parent686895b17c4ebefcaa6066f5d34db7304cf1a33f (diff)
downloadexternal_python_setuptools-5ecd7575c9c09d4ec2d8f993c5fb405388c3f3c1.tar.gz
external_python_setuptools-5ecd7575c9c09d4ec2d8f993c5fb405388c3f3c1.tar.bz2
external_python_setuptools-5ecd7575c9c09d4ec2d8f993c5fb405388c3f3c1.zip
Add two tests demonstrating that requires.txt generation is deterministic. Ref #458.
-rw-r--r--setuptools/tests/test_egg_info.py14
1 files changed, 14 insertions, 0 deletions
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
@@ -231,6 +231,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
install_requires=["barbazquux;{mismatch_marker}"],