• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zopefoundation / Products.StandardCacheManagers / 16399753970

17 Mar 2025 07:54AM UTC coverage: 50.611% (-2.0%) from 52.597%
16399753970

push

github

web-flow
Update Python version support. (#13)

* Drop support for Python 3.8.
* Add support for Python 3.13.

13 of 124 branches covered (10.48%)

Branch coverage included in aggregate %.

360 of 613 relevant lines covered (58.73%)

0.59 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

60.0
/src/Products/StandardCacheManagers/__init__.py
1
##############################################################################
2
#
3
# Copyright (c) 2002 Zope Foundation and Contributors.
4
#
5
# This software is subject to the provisions of the Zope Public License,
6
# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
7
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
8
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
9
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
10
# FOR A PARTICULAR PURPOSE
11
#
12
##############################################################################
13
'''
14
Some standard Zope cache managers.
15
'''
16

17
from . import AcceleratedHTTPCacheManager
1✔
18
from . import RAMCacheManager
1✔
19

20

21
def initialize(context):
1✔
22
    context.registerClass(
×
23
        RAMCacheManager.RAMCacheManager,
24
        constructors=(RAMCacheManager.manage_addRAMCacheManagerForm,
25
                      RAMCacheManager.manage_addRAMCacheManager),
26
        icon="cache.gif")
27

28
    context.registerClass(
×
29
        AcceleratedHTTPCacheManager.AcceleratedHTTPCacheManager,
30
        constructors=(
31
            AcceleratedHTTPCacheManager.manage_addAcceleratedHTTPCacheManagerForm,  # NOQA
32
            AcceleratedHTTPCacheManager.manage_addAcceleratedHTTPCacheManager,
33
        ),
34
        icon="cache.gif")
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc