/usr/share/pyshared/zope/container/tests/test_folder.py is in python-zope.container 3.12.0-0ubuntu2.
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 18 19 20 21 22 23 24 | from unittest import TestCase, makeSuite
from zope.container.folder import Folder
from zope.container.tests.test_icontainer import BaseTestIContainer
from zope.container.tests.test_icontainer import DefaultTestData
class Test(BaseTestIContainer, TestCase):
def makeTestObject(self):
return Folder()
def makeTestData(self):
return DefaultTestData()
def getUnknownKey(self):
return '10'
def getBadKeyTypes(self):
return [None, ['foo'], 1, '\xf3abc']
def test_suite():
return makeSuite(Test)
|