nti.testing 4.3.0__tar.gz → 4.5.0__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.
Files changed (65) hide show
  1. nti_testing-4.5.0/.github/workflows/tests.yml +68 -0
  2. nti_testing-4.5.0/.gitignore +8 -0
  3. {nti_testing-4.3.0 → nti_testing-4.5.0}/CHANGES.rst +14 -0
  4. {nti_testing-4.3.0 → nti_testing-4.5.0}/PKG-INFO +21 -4
  5. nti_testing-4.5.0/docs/_build/html/_static/basic.css +906 -0
  6. nti_testing-4.5.0/docs/_build/html/_static/debug.css +69 -0
  7. nti_testing-4.5.0/docs/_build/html/_static/pygments.css +249 -0
  8. nti_testing-4.5.0/docs/_build/html/_static/skeleton.css +296 -0
  9. nti_testing-4.5.0/docs/_build/html/_static/styles/furo-extensions.css +2 -0
  10. nti_testing-4.5.0/docs/_build/html/_static/styles/furo.css +2 -0
  11. nti_testing-4.5.0/docs/_static/custom.css +95 -0
  12. {nti_testing-4.3.0 → nti_testing-4.5.0}/docs/conf.py +4 -4
  13. {nti_testing-4.3.0 → nti_testing-4.5.0}/setup.py +9 -3
  14. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/base.py +18 -7
  15. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/tests/test_base.py +21 -9
  16. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/tests/test_main.py +13 -7
  17. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/tests/test_zodb.py +23 -5
  18. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti.testing.egg-info/PKG-INFO +21 -4
  19. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti.testing.egg-info/SOURCES.txt +9 -0
  20. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti.testing.egg-info/requires.txt +6 -3
  21. {nti_testing-4.3.0 → nti_testing-4.5.0}/tox.ini +8 -0
  22. {nti_testing-4.3.0 → nti_testing-4.5.0}/.coveragerc +0 -0
  23. {nti_testing-4.3.0 → nti_testing-4.5.0}/.isort.cfg +0 -0
  24. {nti_testing-4.3.0 → nti_testing-4.5.0}/.nti_cover_package +0 -0
  25. {nti_testing-4.3.0 → nti_testing-4.5.0}/.pylintrc +0 -0
  26. {nti_testing-4.3.0 → nti_testing-4.5.0}/.readthedocs.yml +0 -0
  27. {nti_testing-4.3.0 → nti_testing-4.5.0}/.travis.yml +0 -0
  28. {nti_testing-4.3.0 → nti_testing-4.5.0}/COPYRIGHT.txt +0 -0
  29. {nti_testing-4.3.0 → nti_testing-4.5.0}/INSTALL +0 -0
  30. {nti_testing-4.3.0 → nti_testing-4.5.0}/LICENSE +0 -0
  31. {nti_testing-4.3.0 → nti_testing-4.5.0}/MANIFEST.in +0 -0
  32. {nti_testing-4.3.0 → nti_testing-4.5.0}/README.rst +0 -0
  33. {nti_testing-4.3.0 → nti_testing-4.5.0}/TODO +0 -0
  34. {nti_testing-4.3.0 → nti_testing-4.5.0}/doc-requirements.txt +0 -0
  35. {nti_testing-4.3.0/docs → nti_testing-4.5.0/docs/_build/html}/_static/custom.css +0 -0
  36. {nti_testing-4.3.0 → nti_testing-4.5.0}/docs/api.rst +0 -0
  37. {nti_testing-4.3.0 → nti_testing-4.5.0}/docs/base.rst +0 -0
  38. {nti_testing-4.3.0 → nti_testing-4.5.0}/docs/changelog.rst +0 -0
  39. {nti_testing-4.3.0 → nti_testing-4.5.0}/docs/index.rst +0 -0
  40. {nti_testing-4.3.0 → nti_testing-4.5.0}/docs/layers.rst +0 -0
  41. {nti_testing-4.3.0 → nti_testing-4.5.0}/docs/matchers.rst +0 -0
  42. {nti_testing-4.3.0 → nti_testing-4.5.0}/docs/time.rst +0 -0
  43. {nti_testing-4.3.0 → nti_testing-4.5.0}/docs/zodb.rst +0 -0
  44. {nti_testing-4.3.0 → nti_testing-4.5.0}/pyproject.toml +0 -0
  45. {nti_testing-4.3.0 → nti_testing-4.5.0}/setup.cfg +0 -0
  46. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/__init__.py +0 -0
  47. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/__init__.py +0 -0
  48. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/layers/__init__.py +0 -0
  49. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/layers/cleanup.py +0 -0
  50. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/layers/postgres.py +0 -0
  51. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/layers/tests/__init__.py +0 -0
  52. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/layers/tests/test_postgres.py +0 -0
  53. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/layers/zope.py +0 -0
  54. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/matchers.py +0 -0
  55. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/mock.py +0 -0
  56. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/tests/__init__.py +0 -0
  57. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/tests/test_component_cleanup_broken.txt +0 -0
  58. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/tests/test_layers.py +0 -0
  59. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/tests/test_matchers.py +0 -0
  60. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/tests/test_time.py +0 -0
  61. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/time.py +0 -0
  62. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti/testing/zodb.py +0 -0
  63. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti.testing.egg-info/dependency_links.txt +0 -0
  64. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti.testing.egg-info/top_level.txt +0 -0
  65. {nti_testing-4.3.0 → nti_testing-4.5.0}/src/nti.testing.egg-info/zip-safe +0 -0
@@ -0,0 +1,68 @@
1
+ name: tests
2
+
3
+ on: [push, pull_request]
4
+
5
+ env:
6
+ PYTHONHASHSEED: 1042466059
7
+ ZOPE_INTERFACE_STRICT_IRO: 1
8
+
9
+
10
+
11
+ jobs:
12
+ test:
13
+ strategy:
14
+ matrix:
15
+ python-version:
16
+ - "pypy-3.11"
17
+ - "3.10"
18
+ - "3.11"
19
+ - "3.12"
20
+ - "3.13"
21
+ - "3.14"
22
+ - "3.15-dev"
23
+ extras:
24
+ - "[test,docs,zodb,test-zodb]"
25
+
26
+ runs-on: ubuntu-latest
27
+ steps:
28
+ - uses: actions/checkout@v7
29
+ - name: Set up Python
30
+ uses: actions/setup-python@v6
31
+ with:
32
+ python-version: ${{ matrix.python-version }}
33
+ cache: 'pip'
34
+ cache-dependency-path: 'setup.py'
35
+ - name: Install dependencies
36
+ run: |
37
+ python -m pip install -U pip setuptools wheel
38
+ python -m pip install -U coverage
39
+ python -m pip install -U -e ".${{ matrix.extras }}"
40
+ - name: Test
41
+ run: |
42
+ coverage run -m zope.testrunner --test-path=src --auto-color --auto-progress
43
+ coverage run -a -m sphinx -b doctest -d docs/_build/doctrees docs docs/_build/doctests
44
+ coverage combine || true
45
+ coverage report -i || true
46
+ - name: Lint
47
+ if: matrix.python-version == '3.14'
48
+ run: |
49
+ python -m pip install -U pylint
50
+ pylint src
51
+ - name: Test No ZODB
52
+ run: |
53
+ python -m pip uninstall -y ZODB zope.site persistent
54
+ python -m zope.testrunner --test-path=src --auto-color --auto-progress
55
+ - name: Submit to Coveralls
56
+ # This is a container action, which only runs on Linux.
57
+ uses: AndreMiras/coveralls-python-action@develop
58
+ with:
59
+ parallel: true
60
+
61
+ coveralls_finish:
62
+ needs: test
63
+ runs-on: ubuntu-latest
64
+ steps:
65
+ - name: Coveralls Finished
66
+ uses: AndreMiras/coveralls-python-action@develop
67
+ with:
68
+ parallel-finished: true
@@ -0,0 +1,8 @@
1
+ .installed.cfg
2
+
3
+ *.egg-info
4
+ *.pyc
5
+ .coverage
6
+ htmlcov/
7
+
8
+ docs/_build/
@@ -2,6 +2,20 @@
2
2
  Changes
3
3
  =========
4
4
 
5
+ 4.5.0 (2026-07-02)
6
+ ==================
7
+
8
+ - Add ``patch_object`` to the test bases.
9
+ - Add support for Python 3.15.
10
+
11
+
12
+ 4.4.0 (2025-11-14)
13
+ ==================
14
+
15
+ - Move ZODB and related dependencies to the optional 'zodb' extra.
16
+ - Add support for Python 3.14.
17
+
18
+
5
19
  4.3.0 (2025-04-22)
6
20
  ==================
7
21
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nti.testing
3
- Version: 4.3.0
3
+ Version: 4.5.0
4
4
  Summary: Support for testing code
5
5
  Home-page: https://github.com/OpenNTI/nti.testing
6
6
  Author: Jason Madden
@@ -18,13 +18,14 @@ Classifier: Programming Language :: Python :: 3.10
18
18
  Classifier: Programming Language :: Python :: 3.11
19
19
  Classifier: Programming Language :: Python :: 3.12
20
20
  Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
22
+ Classifier: Programming Language :: Python :: 3.15
21
23
  Classifier: Programming Language :: Python :: Implementation :: CPython
22
24
  Classifier: Programming Language :: Python :: Implementation :: PyPy
23
25
  Classifier: Topic :: Software Development :: Testing
24
26
  Classifier: Framework :: Zope3
25
27
  Requires-Python: >=3.10
26
28
  License-File: LICENSE
27
- Requires-Dist: ZODB>=5.6.0
28
29
  Requires-Dist: zope.interface>=5.4.0
29
30
  Requires-Dist: pyhamcrest
30
31
  Requires-Dist: six
@@ -35,17 +36,19 @@ Requires-Dist: zope.dottedname
35
36
  Requires-Dist: zope.exceptions
36
37
  Requires-Dist: zope.schema
37
38
  Requires-Dist: zope.testing
39
+ Provides-Extra: zodb
40
+ Requires-Dist: ZODB>=5.6.0; extra == "zodb"
38
41
  Provides-Extra: test
39
42
  Requires-Dist: Acquisition; extra == "test"
40
- Requires-Dist: zope.site; extra == "test"
41
43
  Requires-Dist: zope.testrunner; extra == "test"
42
44
  Requires-Dist: testgres>=1.11; extra == "test"
43
45
  Requires-Dist: psycopg2-binary; platform_python_implementation != "PyPy" and extra == "test"
46
+ Provides-Extra: test-zodb
47
+ Requires-Dist: zope.site; extra == "test-zodb"
44
48
  Provides-Extra: docs
45
49
  Requires-Dist: Sphinx; extra == "docs"
46
50
  Requires-Dist: furo; extra == "docs"
47
51
  Requires-Dist: Acquisition; extra == "docs"
48
- Requires-Dist: zope.site; extra == "docs"
49
52
  Requires-Dist: zope.testrunner; extra == "docs"
50
53
  Requires-Dist: testgres>=1.11; extra == "docs"
51
54
  Requires-Dist: psycopg2-binary; platform_python_implementation != "PyPy" and extra == "docs"
@@ -320,6 +323,20 @@ ZODB in `nti.testing.zodb`. See the API documentation for details.
320
323
  Changes
321
324
  =========
322
325
 
326
+ 4.5.0 (2026-07-02)
327
+ ==================
328
+
329
+ - Add ``patch_object`` to the test bases.
330
+ - Add support for Python 3.15.
331
+
332
+
333
+ 4.4.0 (2025-11-14)
334
+ ==================
335
+
336
+ - Move ZODB and related dependencies to the optional 'zodb' extra.
337
+ - Add support for Python 3.14.
338
+
339
+
323
340
  4.3.0 (2025-04-22)
324
341
  ==================
325
342