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

zopefoundation / Products.PythonScripts / 11369225233

16 Oct 2024 03:48PM UTC coverage: 86.279% (+0.7%) from 85.54%
11369225233

Pull #65

github

web-flow
Update CHANGES.rst

Co-authored-by: Jens Vagelpohl <jens@plyp.com>
Pull Request #65: Show Python Script source code in tracebacks

84 of 144 branches covered (58.33%)

Branch coverage included in aggregate %.

43 of 43 new or added lines in 2 files covered. (100.0%)

941 of 1044 relevant lines covered (90.13%)

0.9 hits per line

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

0.0
/src/Products/PythonScripts/Utility.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
"""Utility module for making simple security assertions for
14
   Python scripts."""
15

16
# These have been relocated, and should be imported from AccessControl
17

18
from AccessControl import allow_class  # noqa
×
19
from AccessControl import allow_module  # noqa
×
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