summaryrefslogtreecommitdiff
path: root/tests/test_scripts/dummy.py
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2018-10-15 02:42:09 -0500
committerMichael Merickel <michael@merickel.org>2018-10-15 09:24:07 -0500
commit10ddb6f08592c2740b966e98a6f98a5b83af1896 (patch)
tree2e90443b3d8503ac722aa22f52f18f5108498560 /tests/test_scripts/dummy.py
parent4d838f06d0e6d27e34b766fc5c34a8283ff31b38 (diff)
downloadpyramid-10ddb6f08592c2740b966e98a6f98a5b83af1896.tar.gz
pyramid-10ddb6f08592c2740b966e98a6f98a5b83af1896.tar.bz2
pyramid-10ddb6f08592c2740b966e98a6f98a5b83af1896.zip
fix lint on tests
Diffstat (limited to 'tests/test_scripts/dummy.py')
-rw-r--r--tests/test_scripts/dummy.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_scripts/dummy.py b/tests/test_scripts/dummy.py
index 69e69a280..8e340f645 100644
--- a/tests/test_scripts/dummy.py
+++ b/tests/test_scripts/dummy.py
@@ -1,3 +1,7 @@
+from zope.interface import implementer
+from pyramid.interfaces import IMultiView
+
+
class DummyTweens(object):
def __init__(self, implicit, explicit):
self._implicit = implicit
@@ -87,14 +91,10 @@ class DummyView(object):
def __init__(self, **attrs):
self.__request_attrs__ = attrs
- def view(context, request):
+ def view(context, request): # pragma: no cover
pass
-from zope.interface import implementer
-from pyramid.interfaces import IMultiView
-
-
@implementer(IMultiView)
class DummyMultiView(object):
def __init__(self, *views, **attrs):