From 10ddb6f08592c2740b966e98a6f98a5b83af1896 Mon Sep 17 00:00:00 2001 From: Michael Merickel <michael@merickel.org> Date: Mon, 15 Oct 2018 16:24:07 +0200 Subject: [PATCH] fix lint on tests --- tests/test_scripts/test_pviews.py | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/tests/test_scripts/test_pviews.py b/tests/test_scripts/test_pviews.py index cdb3c1c..0b26a9c 100644 --- a/tests/test_scripts/test_pviews.py +++ b/tests/test_scripts/test_pviews.py @@ -75,7 +75,7 @@ registry = Registry() - def view1(): + def view1(): # pragma: no cover pass request = dummy.DummyRequest({'PATH_INFO': '/a'}) @@ -128,7 +128,7 @@ registry = Registry() - def view(): + def view(): # pragma: no cover pass class IMyRoot(Interface): @@ -167,10 +167,10 @@ registry = Registry() - def view1(): + def view1(): # pragma: no cover pass - def view2(): + def view2(): # pragma: no cover pass class IMyRoot(Interface): @@ -213,10 +213,10 @@ registry = Registry() - def view1(): + def view1(): # pragma: no cover pass - def view2(): + def view2(): # pragma: no cover pass class IMyRoot(Interface): @@ -259,7 +259,7 @@ def test__find_multi_routes_all_match(self): command = self._makeOne() - def factory(request): + def factory(request): # pragma: no cover pass routes = [ @@ -280,7 +280,7 @@ def test__find_multi_routes_some_match(self): command = self._makeOne() - def factory(request): + def factory(request): # pragma: no cover pass routes = [ @@ -295,7 +295,7 @@ def test__find_multi_routes_none_match(self): command = self._makeOne() - def factory(request): + def factory(request): # pragma: no cover pass routes = [ @@ -363,7 +363,7 @@ L = [] command.out = L.append - def view(): + def view(): # pragma: no cover pass view.__request_attrs__ = {'context': 'context', 'view_name': 'a'} @@ -405,7 +405,7 @@ L = [] command.out = L.append - def predicate(): + def predicate(): # pragma: no cover pass predicate.text = lambda *arg: "predicate = x" @@ -483,7 +483,7 @@ L = [] command.out = L.append - def predicate(): + def predicate(): # pragma: no cover pass predicate.text = lambda *arg: "predicate = x" @@ -563,7 +563,7 @@ L = [] command.out = L.append - def predicate(): + def predicate(): # pragma: no cover pass predicate.text = lambda *arg: "predicate = x" -- Gitblit v1.9.3