[Checkins] SVN: grok/trunk/src/grok/ftests/ pyflakes
Jan-Jaap Driessen
jdriessen at thehealthagency.com
Thu Dec 9 16:22:31 EST 2010
Log message for revision 118779:
pyflakes
Changed:
U grok/trunk/src/grok/ftests/catalog/indexes_set.py
U grok/trunk/src/grok/ftests/security/grok_view.py
U grok/trunk/src/grok/ftests/security/groups.py
-=-
Modified: grok/trunk/src/grok/ftests/catalog/indexes_set.py
===================================================================
--- grok/trunk/src/grok/ftests/catalog/indexes_set.py 2010-12-09 21:18:41 UTC (rev 118778)
+++ grok/trunk/src/grok/ftests/catalog/indexes_set.py 2010-12-09 21:22:30 UTC (rev 118779)
@@ -29,7 +29,7 @@
['Alpha', 'Beta']
>>> sortedResults(catalog, features={'any_of': ['friendly']})
['Beta', 'Gamma']
-
+
Nuke the catalog and intids in the end, so as not to confuse
other tests::
@@ -47,7 +47,6 @@
"""
from zope.interface import Interface, Attribute
-from zope import schema
import grok
from grok import index
@@ -57,7 +56,7 @@
class IMammoth(Interface):
features = Attribute('Features')
-
+
class MammothIndexes(grok.Indexes):
grok.site(Herd)
grok.context(IMammoth)
@@ -70,4 +69,4 @@
def __init__(self, name, features):
self.name = name
self.features = features
-
+
Modified: grok/trunk/src/grok/ftests/security/grok_view.py
===================================================================
--- grok/trunk/src/grok/ftests/security/grok_view.py 2010-12-09 21:18:41 UTC (rev 118778)
+++ grok/trunk/src/grok/ftests/security/grok_view.py 2010-12-09 21:22:30 UTC (rev 118779)
@@ -18,7 +18,6 @@
"""
import grok
-from zope.publisher.browser import BrowserPage
class App(grok.Application, grok.Container):
pass
Modified: grok/trunk/src/grok/ftests/security/groups.py
===================================================================
--- grok/trunk/src/grok/ftests/security/groups.py 2010-12-09 21:18:41 UTC (rev 118778)
+++ grok/trunk/src/grok/ftests/security/groups.py 2010-12-09 21:22:30 UTC (rev 118779)
@@ -46,9 +46,6 @@
import grok
import zope.interface
-from zope.component import queryUtility
-from zope.security.interfaces import IGroup, IGroupAwarePrincipal
-from zope.authentication.interfaces import IAuthenticatedGroup, IEveryoneGroup
class PublicView(grok.View):
More information about the checkins
mailing list