[Python-checkins] distutils2: fixed test after the inclusion of nut-funkyversion

tarek.ziade python-checkins at python.org
Thu Oct 7 11:06:20 CEST 2010


tarek.ziade pushed 0b3a202f580f to distutils2:

http://hg.python.org/distutils2/rev/0b3a202f580f
changeset:   747:0b3a202f580f
user:        Tarek Ziade <tarek at ziade.org>
date:        Thu Oct 07 11:05:54 2010 +0200
summary:     fixed test after the inclusion of nut-funkyversion
files:       distutils2/_backport/tests/test_pkgutil.py

diff --git a/distutils2/_backport/tests/test_pkgutil.py b/distutils2/_backport/tests/test_pkgutil.py
--- a/distutils2/_backport/tests/test_pkgutil.py
+++ b/distutils2/_backport/tests/test_pkgutil.py
@@ -395,7 +395,7 @@
         # Now, test if the egg-info distributions are found correctly as well
         fake_dists += [('bacon', '0.1'), ('cheese', '2.0.2'),
                        ('banana', '0.4'), ('strawberry', '0.6'),
-                       ('truffles', '5.0')]
+                       ('truffles', '5.0'), ('nut', 'funkyversion')]
         found_dists = []
 
         dists = [dist for dist in get_distributions(use_egg_info=True)]
@@ -578,7 +578,8 @@
         checkLists = lambda x, y: self.assertListEqual(sorted(x), sorted(y))
 
         eggs = [('bacon', '0.1'), ('banana', '0.4'), ('strawberry', '0.6'),
-                ('truffles', '5.0'), ('cheese', '2.0.2')]
+                ('truffles', '5.0'), ('cheese', '2.0.2'),
+                ('nut', 'funkyversion')]
         dists = [('choxie', '2.0.0.9'), ('grammar', '1.0a4'),
                  ('towel-stuff', '0.1')]
 

--
Repository URL: http://hg.python.org/distutils2


More information about the Python-checkins mailing list