diff options
| author | PJ Eby <distutils-sig@python.org> | 2005-08-07 01:03:36 +0000 |
|---|---|---|
| committer | PJ Eby <distutils-sig@python.org> | 2005-08-07 01:03:36 +0000 |
| commit | 57f7bd7e62e6b0ab53bcb33f91abe3ca9917e782 (patch) | |
| tree | a5f039a161f5ce6bc815bb59403400f27fe92a45 /setuptools/tests/test_resources.py | |
| parent | 899e59ff5150705852f15f90fddbfedf7544bec1 (diff) | |
| download | python-setuptools-git-57f7bd7e62e6b0ab53bcb33f91abe3ca9917e782.tar.gz | |
Renamed AvailableDistributions -> Environment. Add sketch of pkg_resources
manual outline.
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041184
Diffstat (limited to 'setuptools/tests/test_resources.py')
| -rw-r--r-- | setuptools/tests/test_resources.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/tests/test_resources.py b/setuptools/tests/test_resources.py index 865065c2..7ec9b980 100644 --- a/setuptools/tests/test_resources.py +++ b/setuptools/tests/test_resources.py @@ -23,7 +23,7 @@ class DistroTests(TestCase): def testCollection(self): # empty path should produce no distributions - ad = AvailableDistributions([], python=None) + ad = Environment([], python=None) self.assertEqual(list(ad), []) self.assertEqual(len(ad),0) self.assertEqual(ad.get('FooPkg'),None) @@ -122,7 +122,7 @@ class DistroTests(TestCase): def testResolve(self): - ad = AvailableDistributions([]); ws = WorkingSet([]) + ad = Environment([]); ws = WorkingSet([]) # Resolving no requirements -> nothing to install self.assertEqual( list(ws.resolve([],ad)), [] ) |
