[Python-checkins] python/nondist/sandbox/setuptools/setuptools/tests test_resources.py, 1.14, 1.15
pje@users.sourceforge.net
pje at users.sourceforge.net
Sun Jul 17 21:01:24 CEST 2005
Update of /cvsroot/python/python/nondist/sandbox/setuptools/setuptools/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30805/setuptools/tests
Modified Files:
test_resources.py
Log Message:
``Distribution`` objects now implement the ``IResourceProvider`` and
``IMetadataProvider`` interfaces, so you don't need to reference the (no
longer available) ``metadata`` attribute to get at these interfaces.
Index: test_resources.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/setuptools/tests/test_resources.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- test_resources.py 17 Jul 2005 04:42:42 -0000 1.14
+++ test_resources.py 17 Jul 2005 19:01:15 -0000 1.15
@@ -3,7 +3,7 @@
import pkg_resources, sys
from sets import ImmutableSet
-class Metadata:
+class Metadata(EmptyProvider):
"""Mock object to return metadata as if from an on-disk distribution"""
def __init__(self,*pairs):
More information about the Python-checkins
mailing list