Commit 5ac924a4 authored by Jérome Perrin's avatar Jérome Perrin

testERP5Web: use two \n between classes as recommended by pep-0008

parent bafc17bc
#! /usr/bin/python
#! /usr/bin/env python
##############################################################################
#
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
......
......@@ -47,6 +47,7 @@ class DummyTraversalHook(object):
def __call__(self, container, request):
return
class WebTraversalHookTestMixin(object):
"""Mixin class to test the WebSiteTraversalHook on both websection and website.
"""
......@@ -109,6 +110,7 @@ class TestWebSiteTraversalHook(WebTraversalHookTestMixin, ERP5TypeTestCase):
from Products.ERP5Type.Document.WebSite import WebSiteTraversalHook
self.traversal_hook_class = WebSiteTraversalHook
class TestWebSectionTraversalHook(WebTraversalHookTestMixin, ERP5TypeTestCase):
def afterSetUp(self):
super(TestWebSectionTraversalHook, self).afterSetUp()
......@@ -121,7 +123,6 @@ class TestWebSectionTraversalHook(WebTraversalHookTestMixin, ERP5TypeTestCase):
self.traversal_hook_class = WebSectionTraversalHook
class TestERP5Web(ERP5TypeTestCase):
"""Test for erp5_web business template.
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment