[Zope-Checkins] CVS: Zope3/lib/python/Zope/ComponentArchitecture/tests - TestFactory.py:1.1.2.1

Jim Fulton jim@zope.com
Mon, 4 Mar 2002 16:40:53 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/ComponentArchitecture/tests
In directory cvs.zope.org:/tmp/cvs-serv22969

Added Files:
      Tag: Zope-3x-branch
	TestFactory.py 
Log Message:
added a factory directive

=== Added File Zope3/lib/python/Zope/ComponentArchitecture/tests/TestFactory.py ===

from Zope.ComponentArchitecture.IFactory import IFactory

class X: pass

def f():
    return X()

f.__implements__ = IFactory