#
# Copyright (c) 2015-2020 Thierry Florac <tflorac AT ulthar.net>
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#

"""PyAMS_pagelet.testing module

This module is used to add additional testing features.
"""

import sys

from pyams_pagelet.pagelet import pagelet_config

__docformat__ = 'restructuredtext'


if sys.argv[-1].endswith('/bin/test'):
    # Testing only!

    @pagelet_config(name='testing.html')
    class PageletTestView:
        """Pagelet test view"""
