/usr/share/pyshared/zope/dublincore/tests/test_partialannotatable.py is in python-zope.dublincore 3.8.2-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | """Tests of the 'partial' annotatable adapter.
"""
__docformat__ = "reStructuredText"
import doctest
import zope.component.testing
from zope.component.testing import tearDown
from zope.annotation.attribute import AttributeAnnotations
def setUp(test):
zope.component.testing.setUp(test)
zope.component.provideAdapter(AttributeAnnotations)
def test_suite():
return doctest.DocFileSuite(
"partial.txt", setUp=setUp, tearDown=tearDown)
|