zope.app.http 5.0__tar.gz → 6.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- zope_app_http-6.1/.pre-commit-config.yaml +42 -0
- zope.app.http-5.0/CHANGES.txt → zope_app_http-6.1/CHANGES.rst +20 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/CONTRIBUTING.md +3 -3
- zope_app_http-6.1/COPYRIGHT.txt +1 -0
- zope_app_http-6.1/MANIFEST.in +11 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/PKG-INFO +50 -15
- zope_app_http-6.1/buildout.cfg +7 -0
- zope_app_http-6.1/pyproject.toml +96 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/setup.cfg +1 -4
- zope_app_http-6.1/setup.py +23 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/exception/tests/test_methodnotallowed.py +0 -8
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/exception/tests/test_unauthorized.py +0 -5
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/httpdate.py +1 -1
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/tests/test_delete.py +0 -8
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/tests/test_options.py +0 -8
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/tests/test_put.py +0 -9
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/tests/test_traversers.py +0 -9
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope.app.http.egg-info/PKG-INFO +50 -15
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope.app.http.egg-info/SOURCES.txt +4 -6
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope.app.http.egg-info/requires.txt +1 -2
- zope_app_http-6.1/tox.ini +71 -0
- zope.app.http-5.0/COPYRIGHT.txt +0 -1
- zope.app.http-5.0/MANIFEST.in +0 -10
- zope.app.http-5.0/buildout.cfg +0 -18
- zope.app.http-5.0/setup.py +0 -88
- zope.app.http-5.0/src/zope/__init__.py +0 -1
- zope.app.http-5.0/src/zope/app/__init__.py +0 -1
- zope.app.http-5.0/src/zope.app.http.egg-info/namespace_packages.txt +0 -2
- zope.app.http-5.0/src/zope.app.http.egg-info/not-zip-safe +0 -1
- zope.app.http-5.0/tox.ini +0 -75
- {zope.app.http-5.0 → zope_app_http-6.1}/LICENSE.txt +0 -0
- /zope.app.http-5.0/README.txt → /zope_app_http-6.1/README.rst +0 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/__init__.py +0 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/configure.zcml +0 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/delete.py +0 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/exception/__init__.py +0 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/exception/configure.zcml +0 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/exception/methodnotallowed.py +0 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/exception/notfound.py +0 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/exception/tests/__init__.py +0 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/exception/unauthorized.py +0 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/ftesting.zcml +0 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/interfaces.py +0 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/options.py +0 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/put.py +0 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/tests/__init__.py +0 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/traversal.py +0 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope.app.http.egg-info/dependency_links.txt +0 -0
- {zope.app.http-5.0 → zope_app_http-6.1}/src/zope.app.http.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
|
|
2
|
+
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
|
|
3
|
+
minimum_pre_commit_version: '3.6'
|
|
4
|
+
repos:
|
|
5
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
6
|
+
rev: v6.0.0
|
|
7
|
+
hooks:
|
|
8
|
+
- id: check-case-conflict
|
|
9
|
+
- id: check-merge-conflict
|
|
10
|
+
- id: check-toml
|
|
11
|
+
- id: check-yaml
|
|
12
|
+
- id: end-of-file-fixer
|
|
13
|
+
- id: trailing-whitespace
|
|
14
|
+
- repo: https://github.com/pycqa/isort
|
|
15
|
+
rev: "8.0.1"
|
|
16
|
+
hooks:
|
|
17
|
+
- id: isort
|
|
18
|
+
- repo: https://github.com/hhatto/autopep8
|
|
19
|
+
rev: "v2.3.2"
|
|
20
|
+
hooks:
|
|
21
|
+
- id: autopep8
|
|
22
|
+
args: [--in-place, --aggressive, --aggressive]
|
|
23
|
+
- repo: https://github.com/asottile/pyupgrade
|
|
24
|
+
rev: v3.21.2
|
|
25
|
+
hooks:
|
|
26
|
+
- id: pyupgrade
|
|
27
|
+
args: [--py311-plus]
|
|
28
|
+
- repo: https://github.com/isidentical/teyit
|
|
29
|
+
rev: 0.4.3
|
|
30
|
+
hooks:
|
|
31
|
+
- id: teyit
|
|
32
|
+
language_version: python3.13
|
|
33
|
+
- repo: https://github.com/PyCQA/flake8
|
|
34
|
+
rev: "7.3.0"
|
|
35
|
+
hooks:
|
|
36
|
+
- id: flake8
|
|
37
|
+
additional_dependencies:
|
|
38
|
+
- flake8-debugger == 4.1.2
|
|
39
|
+
- repo: https://github.com/sphinx-contrib/sphinx-lint
|
|
40
|
+
rev: v1.0.2
|
|
41
|
+
hooks:
|
|
42
|
+
- id: sphinx-lint
|
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
CHANGES
|
|
3
3
|
=======
|
|
4
4
|
|
|
5
|
+
6.1 (2026-12-04)
|
|
6
|
+
----------------
|
|
7
|
+
|
|
8
|
+
- Move package metadata from setup.py to pyproject.toml.
|
|
9
|
+
|
|
10
|
+
- Add support for Python 3.14, 3.15.
|
|
11
|
+
|
|
12
|
+
- Drop support for Python 3.10, 3.9.
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
6.0 (2025-09-12)
|
|
16
|
+
----------------
|
|
17
|
+
|
|
18
|
+
- Replace ``pkg_resources`` namespace with PEP 420 native namespace.
|
|
19
|
+
|
|
20
|
+
- Add support for Python 3.12, 3.13.
|
|
21
|
+
|
|
22
|
+
- Drop support for Python 3.7, 3.8.
|
|
23
|
+
|
|
24
|
+
|
|
5
25
|
5.0 (2023-02-07)
|
|
6
26
|
----------------
|
|
7
27
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
Generated from:
|
|
3
|
-
https://github.com/zopefoundation/meta/tree/master/
|
|
4
|
-
-->
|
|
2
|
+
Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
|
|
3
|
+
https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
|
|
4
|
+
-->
|
|
5
5
|
# Contributing to zopefoundation projects
|
|
6
6
|
|
|
7
7
|
The projects under the zopefoundation GitHub organization are open source and
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Zope Foundation and Contributors
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
|
|
2
|
+
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
|
|
3
|
+
include *.md
|
|
4
|
+
include *.rst
|
|
5
|
+
include *.txt
|
|
6
|
+
include buildout.cfg
|
|
7
|
+
include tox.ini
|
|
8
|
+
include .pre-commit-config.yaml
|
|
9
|
+
|
|
10
|
+
recursive-include src *.py
|
|
11
|
+
recursive-include src *.zcml
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: zope.app.http
|
|
3
|
-
Version:
|
|
3
|
+
Version: 6.1
|
|
4
4
|
Summary: HTTP Behavior for the Zope Publisher
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
Author-email: Zope Foundation and contributors <zope-dev@zope.dev>
|
|
6
|
+
Maintainer-email: Plone Foundation and contributors <zope-dev@zope.dev>
|
|
7
|
+
License-Expression: ZPL-2.1
|
|
8
|
+
Project-URL: Source, https://github.com/zopefoundation/zope.app.http
|
|
9
|
+
Project-URL: Issues, https://github.com/zopefoundation/zope.app.http/issues
|
|
10
|
+
Project-URL: Changelog, https://raw.githubusercontent.com/zopefoundation/zope.app.http/master/CHANGES.rst
|
|
11
|
+
Keywords: zope3,http,publisher,view
|
|
10
12
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
13
|
Classifier: Environment :: Web Environment
|
|
12
14
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Classifier: License :: OSI Approved :: Zope Public License
|
|
14
15
|
Classifier: Programming Language :: Python :: 3
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
19
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
20
21
|
Classifier: Programming Language :: Python :: Implementation
|
|
21
22
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
22
23
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -24,9 +25,24 @@ Classifier: Natural Language :: English
|
|
|
24
25
|
Classifier: Operating System :: OS Independent
|
|
25
26
|
Classifier: Topic :: Internet :: WWW/HTTP
|
|
26
27
|
Classifier: Framework :: Zope :: 3
|
|
27
|
-
Requires-Python: >=3.
|
|
28
|
-
|
|
28
|
+
Requires-Python: >=3.11
|
|
29
|
+
Description-Content-Type: text/x-rst
|
|
29
30
|
License-File: LICENSE.txt
|
|
31
|
+
Requires-Dist: zope.interface
|
|
32
|
+
Requires-Dist: zope.publisher>=4.0.0a2
|
|
33
|
+
Requires-Dist: zope.container>=4.0.0a2
|
|
34
|
+
Requires-Dist: zope.filerepresentation
|
|
35
|
+
Provides-Extra: test
|
|
36
|
+
Requires-Dist: zope.app.wsgi[testlayer]>=4.0; extra == "test"
|
|
37
|
+
Requires-Dist: zope.browserpage; extra == "test"
|
|
38
|
+
Requires-Dist: zope.component; extra == "test"
|
|
39
|
+
Requires-Dist: zope.login; extra == "test"
|
|
40
|
+
Requires-Dist: zope.password; extra == "test"
|
|
41
|
+
Requires-Dist: zope.principalregistry; extra == "test"
|
|
42
|
+
Requires-Dist: zope.securitypolicy>=4.0.0a1; extra == "test"
|
|
43
|
+
Requires-Dist: zope.site>=4.0.0a1; extra == "test"
|
|
44
|
+
Requires-Dist: zope.testrunner>=6.4; extra == "test"
|
|
45
|
+
Dynamic: license-file
|
|
30
46
|
|
|
31
47
|
zope.app.http
|
|
32
48
|
*************
|
|
@@ -35,11 +51,30 @@ This package implements the simplest HTTP behavior within the Zope
|
|
|
35
51
|
Publisher. It implements all HTTP verbs as views and defines the necessary
|
|
36
52
|
HTTP exceptions.
|
|
37
53
|
|
|
38
|
-
|
|
39
54
|
=======
|
|
40
55
|
CHANGES
|
|
41
56
|
=======
|
|
42
57
|
|
|
58
|
+
6.1 (2026-12-04)
|
|
59
|
+
----------------
|
|
60
|
+
|
|
61
|
+
- Move package metadata from setup.py to pyproject.toml.
|
|
62
|
+
|
|
63
|
+
- Add support for Python 3.14, 3.15.
|
|
64
|
+
|
|
65
|
+
- Drop support for Python 3.10, 3.9.
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
6.0 (2025-09-12)
|
|
69
|
+
----------------
|
|
70
|
+
|
|
71
|
+
- Replace ``pkg_resources`` namespace with PEP 420 native namespace.
|
|
72
|
+
|
|
73
|
+
- Add support for Python 3.12, 3.13.
|
|
74
|
+
|
|
75
|
+
- Drop support for Python 3.7, 3.8.
|
|
76
|
+
|
|
77
|
+
|
|
43
78
|
5.0 (2023-02-07)
|
|
44
79
|
----------------
|
|
45
80
|
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
|
|
2
|
+
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
|
|
3
|
+
[build-system]
|
|
4
|
+
requires = [
|
|
5
|
+
"setuptools >= 78.1.1,< 82",
|
|
6
|
+
"wheel",
|
|
7
|
+
]
|
|
8
|
+
build-backend = "setuptools.build_meta"
|
|
9
|
+
|
|
10
|
+
[project]
|
|
11
|
+
name = "zope.app.http"
|
|
12
|
+
version = "6.1"
|
|
13
|
+
description = "HTTP Behavior for the Zope Publisher"
|
|
14
|
+
license = "ZPL-2.1"
|
|
15
|
+
classifiers = [
|
|
16
|
+
"Development Status :: 5 - Production/Stable",
|
|
17
|
+
"Environment :: Web Environment",
|
|
18
|
+
"Intended Audience :: Developers",
|
|
19
|
+
"Programming Language :: Python :: 3",
|
|
20
|
+
"Programming Language :: Python :: 3.11",
|
|
21
|
+
"Programming Language :: Python :: 3.12",
|
|
22
|
+
"Programming Language :: Python :: 3.13",
|
|
23
|
+
"Programming Language :: Python :: 3.14",
|
|
24
|
+
"Programming Language :: Python :: 3.15",
|
|
25
|
+
"Programming Language :: Python :: Implementation",
|
|
26
|
+
"Programming Language :: Python :: Implementation :: CPython",
|
|
27
|
+
"Programming Language :: Python :: Implementation :: PyPy",
|
|
28
|
+
"Natural Language :: English",
|
|
29
|
+
"Operating System :: OS Independent",
|
|
30
|
+
"Topic :: Internet :: WWW/HTTP",
|
|
31
|
+
"Framework :: Zope :: 3",
|
|
32
|
+
]
|
|
33
|
+
dynamic = ["readme"]
|
|
34
|
+
requires-python = ">=3.11"
|
|
35
|
+
authors = [
|
|
36
|
+
{name = "Zope Foundation and contributors",email = "zope-dev@zope.dev"},
|
|
37
|
+
]
|
|
38
|
+
maintainers = [
|
|
39
|
+
{name = "Plone Foundation and contributors",email = "zope-dev@zope.dev"},
|
|
40
|
+
]
|
|
41
|
+
dependencies = [
|
|
42
|
+
"zope.interface",
|
|
43
|
+
"zope.publisher>=4.0.0a2",
|
|
44
|
+
"zope.container >= 4.0.0a2",
|
|
45
|
+
"zope.filerepresentation",
|
|
46
|
+
]
|
|
47
|
+
keywords = ["zope3", "http", "publisher", "view"]
|
|
48
|
+
|
|
49
|
+
[project.optional-dependencies]
|
|
50
|
+
test = [
|
|
51
|
+
"zope.app.wsgi[testlayer] >= 4.0",
|
|
52
|
+
"zope.browserpage",
|
|
53
|
+
"zope.component",
|
|
54
|
+
"zope.login",
|
|
55
|
+
"zope.password",
|
|
56
|
+
"zope.principalregistry",
|
|
57
|
+
"zope.securitypolicy >= 4.0.0a1",
|
|
58
|
+
"zope.site >= 4.0.0a1",
|
|
59
|
+
"zope.testrunner >= 6.4",
|
|
60
|
+
]
|
|
61
|
+
|
|
62
|
+
[project.urls]
|
|
63
|
+
Source = "https://github.com/zopefoundation/zope.app.http"
|
|
64
|
+
Issues = "https://github.com/zopefoundation/zope.app.http/issues"
|
|
65
|
+
Changelog = "https://raw.githubusercontent.com/zopefoundation/zope.app.http/master/CHANGES.rst"
|
|
66
|
+
|
|
67
|
+
[tool.coverage.run]
|
|
68
|
+
branch = true
|
|
69
|
+
source = ["zope.app.http"]
|
|
70
|
+
|
|
71
|
+
[tool.coverage.report]
|
|
72
|
+
fail_under = 84
|
|
73
|
+
precision = 2
|
|
74
|
+
ignore_errors = true
|
|
75
|
+
show_missing = true
|
|
76
|
+
exclude_lines = [
|
|
77
|
+
"pragma: no cover",
|
|
78
|
+
"pragma: nocover",
|
|
79
|
+
"except ImportError:",
|
|
80
|
+
"raise NotImplementedError",
|
|
81
|
+
"if __name__ == '__main__':",
|
|
82
|
+
"self.fail",
|
|
83
|
+
"raise AssertionError",
|
|
84
|
+
"raise unittest.Skip",
|
|
85
|
+
]
|
|
86
|
+
|
|
87
|
+
[tool.coverage.html]
|
|
88
|
+
directory = "parts/htmlcov"
|
|
89
|
+
|
|
90
|
+
[tool.setuptools.dynamic]
|
|
91
|
+
readme = {file = ["README.rst", "CHANGES.rst"]}
|
|
92
|
+
|
|
93
|
+
[tool.zest-releaser]
|
|
94
|
+
create-wheel = false
|
|
95
|
+
extra-message = ""
|
|
96
|
+
upload-pypi = false
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
[bdist_wheel]
|
|
2
|
-
universal = 0
|
|
3
|
-
|
|
4
1
|
[flake8]
|
|
5
2
|
doctests = 1
|
|
6
3
|
|
|
@@ -13,7 +10,7 @@ ignore =
|
|
|
13
10
|
force_single_line = True
|
|
14
11
|
combine_as_imports = True
|
|
15
12
|
sections = FUTURE,STDLIB,THIRDPARTY,ZOPE,FIRSTPARTY,LOCALFOLDER
|
|
16
|
-
known_third_party =
|
|
13
|
+
known_third_party = docutils, pkg_resources, pytz
|
|
17
14
|
known_zope =
|
|
18
15
|
known_first_party =
|
|
19
16
|
default_section = ZOPE
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
##############################################################################
|
|
2
|
+
#
|
|
3
|
+
# Copyright (c) 2006 Zope Foundation and Contributors.
|
|
4
|
+
# All Rights Reserved.
|
|
5
|
+
#
|
|
6
|
+
# This software is subject to the provisions of the Zope Public License,
|
|
7
|
+
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
|
|
8
|
+
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
|
|
9
|
+
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
10
|
+
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
|
|
11
|
+
# FOR A PARTICULAR PURPOSE.
|
|
12
|
+
#
|
|
13
|
+
##############################################################################
|
|
14
|
+
# This package is developed by the Zope Toolkit project, documented here:
|
|
15
|
+
# https://zopetoolkit.readthedocs.io/en/latest/
|
|
16
|
+
# When developing and releasing this package, please follow the documented
|
|
17
|
+
# Zope Toolkit policies as described by this documentation.
|
|
18
|
+
##############################################################################
|
|
19
|
+
from setuptools import setup
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# See pyproject.toml for package metadata
|
|
23
|
+
setup()
|
{zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/exception/tests/test_methodnotallowed.py
RENAMED
|
@@ -15,8 +15,6 @@
|
|
|
15
15
|
"""
|
|
16
16
|
from io import BytesIO
|
|
17
17
|
from unittest import TestCase
|
|
18
|
-
from unittest import TestSuite
|
|
19
|
-
from unittest import makeSuite
|
|
20
18
|
|
|
21
19
|
from zope.component import provideAdapter
|
|
22
20
|
from zope.interface import Interface
|
|
@@ -115,9 +113,3 @@ class TestMethodNotAllowedView(TestCase):
|
|
|
115
113
|
# well this is empty, but we're grateful that it does not break
|
|
116
114
|
self.assertEqual(request.response.getHeader('Allow'), '')
|
|
117
115
|
self.assertEqual(result, b'Method Not Allowed')
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
def test_suite():
|
|
121
|
-
return TestSuite((
|
|
122
|
-
makeSuite(TestMethodNotAllowedView),
|
|
123
|
-
))
|
{zope.app.http-5.0 → zope_app_http-6.1}/src/zope/app/http/exception/tests/test_unauthorized.py
RENAMED
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
"""Unauthorized Exception Test
|
|
15
15
|
"""
|
|
16
16
|
from unittest import TestCase
|
|
17
|
-
from unittest import makeSuite
|
|
18
17
|
|
|
19
18
|
from zope.publisher.browser import TestRequest
|
|
20
19
|
from zope.publisher.interfaces.http import IHTTPException
|
|
@@ -42,7 +41,3 @@ class Test(TestCase):
|
|
|
42
41
|
self.assertEqual(request.response.getStatus(), 401)
|
|
43
42
|
self.assertTrue(request.response.getHeader(
|
|
44
43
|
'WWW-Authenticate', '', True).startswith('basic'))
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
def test_suite():
|
|
48
|
-
return makeSuite(Test)
|
|
@@ -14,8 +14,6 @@
|
|
|
14
14
|
"""Test HTTP DELETE verb
|
|
15
15
|
"""
|
|
16
16
|
from unittest import TestCase
|
|
17
|
-
from unittest import TestSuite
|
|
18
|
-
from unittest import makeSuite
|
|
19
17
|
|
|
20
18
|
from zope.container.contained import contained
|
|
21
19
|
from zope.filerepresentation.interfaces import IFileFactory
|
|
@@ -58,9 +56,3 @@ class TestDelete(TestCase):
|
|
|
58
56
|
request = TestRequest()
|
|
59
57
|
delete = zope.app.http.delete.DELETE(item, request)
|
|
60
58
|
self.assertRaises(MethodNotAllowed, delete.DELETE)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
def test_suite():
|
|
64
|
-
return TestSuite((
|
|
65
|
-
makeSuite(TestDelete),
|
|
66
|
-
))
|
|
@@ -14,8 +14,6 @@
|
|
|
14
14
|
"""Test HTTP OPTIONS verb
|
|
15
15
|
"""
|
|
16
16
|
from unittest import TestCase
|
|
17
|
-
from unittest import TestSuite
|
|
18
|
-
from unittest import makeSuite
|
|
19
17
|
|
|
20
18
|
import zope.interface
|
|
21
19
|
from zope.publisher.browser import IBrowserRequest
|
|
@@ -68,9 +66,3 @@ class TestOptions(TestCase):
|
|
|
68
66
|
self.assertEqual(options.OPTIONS(), '')
|
|
69
67
|
getHeader = request.response.getHeader
|
|
70
68
|
self.assertEqual(getHeader('Allow'), 'GET, HEAD, POST, PUT')
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
def test_suite():
|
|
74
|
-
return TestSuite((
|
|
75
|
-
makeSuite(TestOptions),
|
|
76
|
-
))
|
|
@@ -15,8 +15,6 @@
|
|
|
15
15
|
"""
|
|
16
16
|
from io import BytesIO
|
|
17
17
|
from unittest import TestCase
|
|
18
|
-
from unittest import TestSuite
|
|
19
|
-
from unittest import makeSuite
|
|
20
18
|
|
|
21
19
|
from zope.app.wsgi.testlayer import BrowserLayer
|
|
22
20
|
from zope.filerepresentation.interfaces import IFileFactory
|
|
@@ -176,10 +174,3 @@ class TestFilePUT(TestCase):
|
|
|
176
174
|
put = zope.app.http.put.FilePUT(file, request)
|
|
177
175
|
self.assertRaises(zope.publisher.interfaces.http.MethodNotAllowed,
|
|
178
176
|
put.PUT)
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
def test_suite():
|
|
182
|
-
return TestSuite((
|
|
183
|
-
makeSuite(TestFilePUT),
|
|
184
|
-
makeSuite(TestNullPUT),
|
|
185
|
-
))
|
|
@@ -14,8 +14,6 @@
|
|
|
14
14
|
"""Test HTTP-specific object traversers
|
|
15
15
|
"""
|
|
16
16
|
from unittest import TestCase
|
|
17
|
-
from unittest import TestSuite
|
|
18
|
-
from unittest import makeSuite
|
|
19
17
|
|
|
20
18
|
from zope.publisher.browser import TestRequest
|
|
21
19
|
from zope.publisher.interfaces import NotFound
|
|
@@ -73,10 +71,3 @@ class TestItem(TestContainer):
|
|
|
73
71
|
|
|
74
72
|
Container = Items
|
|
75
73
|
Traverser = ItemTraverser
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
def test_suite():
|
|
79
|
-
return TestSuite((
|
|
80
|
-
makeSuite(TestContainer),
|
|
81
|
-
makeSuite(TestItem),
|
|
82
|
-
))
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: zope.app.http
|
|
3
|
-
Version:
|
|
3
|
+
Version: 6.1
|
|
4
4
|
Summary: HTTP Behavior for the Zope Publisher
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
Author-email: Zope Foundation and contributors <zope-dev@zope.dev>
|
|
6
|
+
Maintainer-email: Plone Foundation and contributors <zope-dev@zope.dev>
|
|
7
|
+
License-Expression: ZPL-2.1
|
|
8
|
+
Project-URL: Source, https://github.com/zopefoundation/zope.app.http
|
|
9
|
+
Project-URL: Issues, https://github.com/zopefoundation/zope.app.http/issues
|
|
10
|
+
Project-URL: Changelog, https://raw.githubusercontent.com/zopefoundation/zope.app.http/master/CHANGES.rst
|
|
11
|
+
Keywords: zope3,http,publisher,view
|
|
10
12
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
13
|
Classifier: Environment :: Web Environment
|
|
12
14
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Classifier: License :: OSI Approved :: Zope Public License
|
|
14
15
|
Classifier: Programming Language :: Python :: 3
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
19
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
20
21
|
Classifier: Programming Language :: Python :: Implementation
|
|
21
22
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
22
23
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -24,9 +25,24 @@ Classifier: Natural Language :: English
|
|
|
24
25
|
Classifier: Operating System :: OS Independent
|
|
25
26
|
Classifier: Topic :: Internet :: WWW/HTTP
|
|
26
27
|
Classifier: Framework :: Zope :: 3
|
|
27
|
-
Requires-Python: >=3.
|
|
28
|
-
|
|
28
|
+
Requires-Python: >=3.11
|
|
29
|
+
Description-Content-Type: text/x-rst
|
|
29
30
|
License-File: LICENSE.txt
|
|
31
|
+
Requires-Dist: zope.interface
|
|
32
|
+
Requires-Dist: zope.publisher>=4.0.0a2
|
|
33
|
+
Requires-Dist: zope.container>=4.0.0a2
|
|
34
|
+
Requires-Dist: zope.filerepresentation
|
|
35
|
+
Provides-Extra: test
|
|
36
|
+
Requires-Dist: zope.app.wsgi[testlayer]>=4.0; extra == "test"
|
|
37
|
+
Requires-Dist: zope.browserpage; extra == "test"
|
|
38
|
+
Requires-Dist: zope.component; extra == "test"
|
|
39
|
+
Requires-Dist: zope.login; extra == "test"
|
|
40
|
+
Requires-Dist: zope.password; extra == "test"
|
|
41
|
+
Requires-Dist: zope.principalregistry; extra == "test"
|
|
42
|
+
Requires-Dist: zope.securitypolicy>=4.0.0a1; extra == "test"
|
|
43
|
+
Requires-Dist: zope.site>=4.0.0a1; extra == "test"
|
|
44
|
+
Requires-Dist: zope.testrunner>=6.4; extra == "test"
|
|
45
|
+
Dynamic: license-file
|
|
30
46
|
|
|
31
47
|
zope.app.http
|
|
32
48
|
*************
|
|
@@ -35,11 +51,30 @@ This package implements the simplest HTTP behavior within the Zope
|
|
|
35
51
|
Publisher. It implements all HTTP verbs as views and defines the necessary
|
|
36
52
|
HTTP exceptions.
|
|
37
53
|
|
|
38
|
-
|
|
39
54
|
=======
|
|
40
55
|
CHANGES
|
|
41
56
|
=======
|
|
42
57
|
|
|
58
|
+
6.1 (2026-12-04)
|
|
59
|
+
----------------
|
|
60
|
+
|
|
61
|
+
- Move package metadata from setup.py to pyproject.toml.
|
|
62
|
+
|
|
63
|
+
- Add support for Python 3.14, 3.15.
|
|
64
|
+
|
|
65
|
+
- Drop support for Python 3.10, 3.9.
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
6.0 (2025-09-12)
|
|
69
|
+
----------------
|
|
70
|
+
|
|
71
|
+
- Replace ``pkg_resources`` namespace with PEP 420 native namespace.
|
|
72
|
+
|
|
73
|
+
- Add support for Python 3.12, 3.13.
|
|
74
|
+
|
|
75
|
+
- Drop support for Python 3.7, 3.8.
|
|
76
|
+
|
|
77
|
+
|
|
43
78
|
5.0 (2023-02-07)
|
|
44
79
|
----------------
|
|
45
80
|
|
|
@@ -1,22 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
.pre-commit-config.yaml
|
|
2
|
+
CHANGES.rst
|
|
2
3
|
CONTRIBUTING.md
|
|
3
4
|
COPYRIGHT.txt
|
|
4
5
|
LICENSE.txt
|
|
5
6
|
MANIFEST.in
|
|
6
|
-
README.
|
|
7
|
+
README.rst
|
|
7
8
|
buildout.cfg
|
|
9
|
+
pyproject.toml
|
|
8
10
|
setup.cfg
|
|
9
11
|
setup.py
|
|
10
12
|
tox.ini
|
|
11
|
-
src/zope/__init__.py
|
|
12
13
|
src/zope.app.http.egg-info/PKG-INFO
|
|
13
14
|
src/zope.app.http.egg-info/SOURCES.txt
|
|
14
15
|
src/zope.app.http.egg-info/dependency_links.txt
|
|
15
|
-
src/zope.app.http.egg-info/namespace_packages.txt
|
|
16
|
-
src/zope.app.http.egg-info/not-zip-safe
|
|
17
16
|
src/zope.app.http.egg-info/requires.txt
|
|
18
17
|
src/zope.app.http.egg-info/top_level.txt
|
|
19
|
-
src/zope/app/__init__.py
|
|
20
18
|
src/zope/app/http/__init__.py
|
|
21
19
|
src/zope/app/http/configure.zcml
|
|
22
20
|
src/zope/app/http/delete.py
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
|
|
2
|
+
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
|
|
3
|
+
[tox]
|
|
4
|
+
minversion = 3.18
|
|
5
|
+
envlist =
|
|
6
|
+
release-check
|
|
7
|
+
lint
|
|
8
|
+
py311
|
|
9
|
+
py312
|
|
10
|
+
py313
|
|
11
|
+
py314
|
|
12
|
+
py315
|
|
13
|
+
pypy3
|
|
14
|
+
coverage
|
|
15
|
+
|
|
16
|
+
[testenv]
|
|
17
|
+
usedevelop = true
|
|
18
|
+
package = wheel
|
|
19
|
+
wheel_build_env = .pkg
|
|
20
|
+
deps =
|
|
21
|
+
setuptools >= 78.1.1,< 82
|
|
22
|
+
commands =
|
|
23
|
+
zope-testrunner --test-path=src {posargs:-vc}
|
|
24
|
+
extras =
|
|
25
|
+
test
|
|
26
|
+
|
|
27
|
+
[testenv:setuptools-latest]
|
|
28
|
+
basepython = python3
|
|
29
|
+
deps =
|
|
30
|
+
git+https://github.com/pypa/setuptools.git\#egg=setuptools
|
|
31
|
+
|
|
32
|
+
[testenv:release-check]
|
|
33
|
+
description = ensure that the distribution is ready to release
|
|
34
|
+
basepython = python3
|
|
35
|
+
skip_install = true
|
|
36
|
+
deps =
|
|
37
|
+
setuptools >= 78.1.1,< 82
|
|
38
|
+
wheel
|
|
39
|
+
twine
|
|
40
|
+
build
|
|
41
|
+
check-manifest
|
|
42
|
+
check-python-versions >= 0.24.2
|
|
43
|
+
wheel
|
|
44
|
+
commands_pre =
|
|
45
|
+
commands =
|
|
46
|
+
check-manifest
|
|
47
|
+
check-python-versions --only pyproject.toml,setup.py,tox.ini,.github/workflows/tests.yml
|
|
48
|
+
python -m build --sdist --no-isolation
|
|
49
|
+
twine check dist/*
|
|
50
|
+
|
|
51
|
+
[testenv:lint]
|
|
52
|
+
description = This env runs all linters configured in .pre-commit-config.yaml
|
|
53
|
+
basepython = python3
|
|
54
|
+
skip_install = true
|
|
55
|
+
deps =
|
|
56
|
+
pre-commit
|
|
57
|
+
commands_pre =
|
|
58
|
+
commands =
|
|
59
|
+
pre-commit run --all-files --show-diff-on-failure
|
|
60
|
+
|
|
61
|
+
[testenv:coverage]
|
|
62
|
+
basepython = python3
|
|
63
|
+
allowlist_externals =
|
|
64
|
+
mkdir
|
|
65
|
+
deps =
|
|
66
|
+
coverage[toml]
|
|
67
|
+
commands =
|
|
68
|
+
mkdir -p {toxinidir}/parts/htmlcov
|
|
69
|
+
coverage run -m zope.testrunner --test-path=src {posargs:-vc}
|
|
70
|
+
coverage html
|
|
71
|
+
coverage report
|
zope.app.http-5.0/COPYRIGHT.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Zope Foundation and Contributors
|
zope.app.http-5.0/MANIFEST.in
DELETED
zope.app.http-5.0/buildout.cfg
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
[buildout]
|
|
2
|
-
develop = .
|
|
3
|
-
parts = test coverage-test coverage-report
|
|
4
|
-
|
|
5
|
-
[test]
|
|
6
|
-
recipe = zc.recipe.testrunner
|
|
7
|
-
eggs = zope.app.http [test]
|
|
8
|
-
|
|
9
|
-
[coverage-test]
|
|
10
|
-
recipe = zc.recipe.testrunner
|
|
11
|
-
eggs = zope.app.http [test]
|
|
12
|
-
defaults = ['--coverage', '../../coverage']
|
|
13
|
-
|
|
14
|
-
[coverage-report]
|
|
15
|
-
recipe = zc.recipe.egg
|
|
16
|
-
eggs = z3c.coverage
|
|
17
|
-
scripts = coverage=coverage-report
|
|
18
|
-
arguments = ('coverage', 'coverage/report')
|
zope.app.http-5.0/setup.py
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
##############################################################################
|
|
2
|
-
#
|
|
3
|
-
# Copyright (c) 2006 Zope Foundation and Contributors.
|
|
4
|
-
# All Rights Reserved.
|
|
5
|
-
#
|
|
6
|
-
# This software is subject to the provisions of the Zope Public License,
|
|
7
|
-
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
|
|
8
|
-
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
|
|
9
|
-
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
10
|
-
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
|
|
11
|
-
# FOR A PARTICULAR PURPOSE.
|
|
12
|
-
#
|
|
13
|
-
##############################################################################
|
|
14
|
-
# This package is developed by the Zope Toolkit project, documented here:
|
|
15
|
-
# https://zopetoolkit.readthedocs.io/en/latest/
|
|
16
|
-
# When developing and releasing this package, please follow the documented
|
|
17
|
-
# Zope Toolkit policies as described by this documentation.
|
|
18
|
-
##############################################################################
|
|
19
|
-
"""Setup for zope.app.http package
|
|
20
|
-
"""
|
|
21
|
-
import os
|
|
22
|
-
|
|
23
|
-
from setuptools import find_packages
|
|
24
|
-
from setuptools import setup
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
def read(*rnames):
|
|
28
|
-
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
setup(name='zope.app.http',
|
|
32
|
-
version='5.0',
|
|
33
|
-
author='Zope Foundation and Contributors',
|
|
34
|
-
author_email='zope-dev@zope.dev',
|
|
35
|
-
description='HTTP Behavior for the Zope Publisher',
|
|
36
|
-
long_description=(
|
|
37
|
-
read('README.txt')
|
|
38
|
-
+ '\n\n' +
|
|
39
|
-
read('CHANGES.txt')
|
|
40
|
-
),
|
|
41
|
-
keywords="zope3 http publisher view",
|
|
42
|
-
classifiers=[
|
|
43
|
-
'Development Status :: 5 - Production/Stable',
|
|
44
|
-
'Environment :: Web Environment',
|
|
45
|
-
'Intended Audience :: Developers',
|
|
46
|
-
'License :: OSI Approved :: Zope Public License',
|
|
47
|
-
'Programming Language :: Python :: 3',
|
|
48
|
-
'Programming Language :: Python :: 3.7',
|
|
49
|
-
'Programming Language :: Python :: 3.8',
|
|
50
|
-
'Programming Language :: Python :: 3.9',
|
|
51
|
-
'Programming Language :: Python :: 3.10',
|
|
52
|
-
'Programming Language :: Python :: 3.11',
|
|
53
|
-
'Programming Language :: Python :: Implementation',
|
|
54
|
-
'Programming Language :: Python :: Implementation :: CPython',
|
|
55
|
-
'Programming Language :: Python :: Implementation :: PyPy',
|
|
56
|
-
'Natural Language :: English',
|
|
57
|
-
'Operating System :: OS Independent',
|
|
58
|
-
'Topic :: Internet :: WWW/HTTP',
|
|
59
|
-
'Framework :: Zope :: 3',
|
|
60
|
-
],
|
|
61
|
-
url='https://github.com/zopefoundation/zope.app.http',
|
|
62
|
-
license='ZPL 2.1',
|
|
63
|
-
packages=find_packages('src'),
|
|
64
|
-
package_dir={'': 'src'},
|
|
65
|
-
namespace_packages=['zope', 'zope.app'],
|
|
66
|
-
python_requires='>=3.7',
|
|
67
|
-
extras_require=dict(
|
|
68
|
-
test=[
|
|
69
|
-
'zope.app.wsgi[testlayer] >= 4.0',
|
|
70
|
-
'zope.browserpage',
|
|
71
|
-
'zope.component',
|
|
72
|
-
'zope.login',
|
|
73
|
-
'zope.password',
|
|
74
|
-
'zope.principalregistry',
|
|
75
|
-
'zope.securitypolicy >= 4.0.0a1',
|
|
76
|
-
'zope.site >= 4.0.0a1',
|
|
77
|
-
'zope.testrunner',
|
|
78
|
-
]),
|
|
79
|
-
install_requires=[
|
|
80
|
-
'setuptools',
|
|
81
|
-
'zope.interface',
|
|
82
|
-
'zope.publisher>=4.0.0a2',
|
|
83
|
-
'zope.container >= 4.0.0a2',
|
|
84
|
-
'zope.filerepresentation',
|
|
85
|
-
],
|
|
86
|
-
include_package_data=True,
|
|
87
|
-
zip_safe=False,
|
|
88
|
-
)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__import__('pkg_resources').declare_namespace(__name__) # pragma: no cover
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__import__('pkg_resources').declare_namespace(__name__) # pragma: no cover
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
zope.app.http-5.0/tox.ini
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
# Generated from:
|
|
2
|
-
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
|
|
3
|
-
[tox]
|
|
4
|
-
minversion = 3.18
|
|
5
|
-
envlist =
|
|
6
|
-
lint
|
|
7
|
-
py37
|
|
8
|
-
py38
|
|
9
|
-
py39
|
|
10
|
-
py310
|
|
11
|
-
py311
|
|
12
|
-
pypy3
|
|
13
|
-
coverage
|
|
14
|
-
|
|
15
|
-
[testenv]
|
|
16
|
-
usedevelop = true
|
|
17
|
-
deps =
|
|
18
|
-
commands =
|
|
19
|
-
zope-testrunner --test-path=src {posargs:-vc}
|
|
20
|
-
extras =
|
|
21
|
-
test
|
|
22
|
-
|
|
23
|
-
[testenv:lint]
|
|
24
|
-
basepython = python3
|
|
25
|
-
skip_install = true
|
|
26
|
-
commands =
|
|
27
|
-
isort --check-only --diff {toxinidir}/src {toxinidir}/setup.py
|
|
28
|
-
flake8 src setup.py
|
|
29
|
-
check-manifest
|
|
30
|
-
check-python-versions
|
|
31
|
-
deps =
|
|
32
|
-
check-manifest
|
|
33
|
-
check-python-versions >= 0.19.1
|
|
34
|
-
wheel
|
|
35
|
-
flake8
|
|
36
|
-
isort
|
|
37
|
-
|
|
38
|
-
[testenv:isort-apply]
|
|
39
|
-
basepython = python3
|
|
40
|
-
skip_install = true
|
|
41
|
-
commands_pre =
|
|
42
|
-
deps =
|
|
43
|
-
isort
|
|
44
|
-
commands =
|
|
45
|
-
isort {toxinidir}/src {toxinidir}/setup.py []
|
|
46
|
-
|
|
47
|
-
[testenv:coverage]
|
|
48
|
-
basepython = python3
|
|
49
|
-
allowlist_externals =
|
|
50
|
-
mkdir
|
|
51
|
-
deps =
|
|
52
|
-
coverage
|
|
53
|
-
commands =
|
|
54
|
-
mkdir -p {toxinidir}/parts/htmlcov
|
|
55
|
-
coverage run -m zope.testrunner --test-path=src {posargs:-vc}
|
|
56
|
-
coverage html --ignore-errors
|
|
57
|
-
coverage report --ignore-errors --show-missing --fail-under=84
|
|
58
|
-
|
|
59
|
-
[coverage:run]
|
|
60
|
-
branch = True
|
|
61
|
-
source = zope.app.http
|
|
62
|
-
|
|
63
|
-
[coverage:report]
|
|
64
|
-
precision = 2
|
|
65
|
-
exclude_lines =
|
|
66
|
-
pragma: no cover
|
|
67
|
-
pragma: nocover
|
|
68
|
-
except ImportError:
|
|
69
|
-
raise NotImplementedError
|
|
70
|
-
if __name__ == '__main__':
|
|
71
|
-
self.fail
|
|
72
|
-
raise AssertionError
|
|
73
|
-
|
|
74
|
-
[coverage:html]
|
|
75
|
-
directory = parts/htmlcov
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|