nti.testing 4.4.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.4.0 → nti_testing-4.5.0}/CHANGES.rst +7 -0
  4. {nti_testing-4.4.0 → nti_testing-4.5.0}/PKG-INFO +9 -1
  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.4.0 → nti_testing-4.5.0}/docs/conf.py +4 -4
  13. {nti_testing-4.4.0 → nti_testing-4.5.0}/setup.py +2 -1
  14. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/base.py +18 -7
  15. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/tests/test_base.py +13 -7
  16. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti.testing.egg-info/PKG-INFO +9 -1
  17. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti.testing.egg-info/SOURCES.txt +9 -0
  18. {nti_testing-4.4.0 → nti_testing-4.5.0}/tox.ini +2 -0
  19. {nti_testing-4.4.0 → nti_testing-4.5.0}/.coveragerc +0 -0
  20. {nti_testing-4.4.0 → nti_testing-4.5.0}/.isort.cfg +0 -0
  21. {nti_testing-4.4.0 → nti_testing-4.5.0}/.nti_cover_package +0 -0
  22. {nti_testing-4.4.0 → nti_testing-4.5.0}/.pylintrc +0 -0
  23. {nti_testing-4.4.0 → nti_testing-4.5.0}/.readthedocs.yml +0 -0
  24. {nti_testing-4.4.0 → nti_testing-4.5.0}/.travis.yml +0 -0
  25. {nti_testing-4.4.0 → nti_testing-4.5.0}/COPYRIGHT.txt +0 -0
  26. {nti_testing-4.4.0 → nti_testing-4.5.0}/INSTALL +0 -0
  27. {nti_testing-4.4.0 → nti_testing-4.5.0}/LICENSE +0 -0
  28. {nti_testing-4.4.0 → nti_testing-4.5.0}/MANIFEST.in +0 -0
  29. {nti_testing-4.4.0 → nti_testing-4.5.0}/README.rst +0 -0
  30. {nti_testing-4.4.0 → nti_testing-4.5.0}/TODO +0 -0
  31. {nti_testing-4.4.0 → nti_testing-4.5.0}/doc-requirements.txt +0 -0
  32. {nti_testing-4.4.0/docs → nti_testing-4.5.0/docs/_build/html}/_static/custom.css +0 -0
  33. {nti_testing-4.4.0 → nti_testing-4.5.0}/docs/api.rst +0 -0
  34. {nti_testing-4.4.0 → nti_testing-4.5.0}/docs/base.rst +0 -0
  35. {nti_testing-4.4.0 → nti_testing-4.5.0}/docs/changelog.rst +0 -0
  36. {nti_testing-4.4.0 → nti_testing-4.5.0}/docs/index.rst +0 -0
  37. {nti_testing-4.4.0 → nti_testing-4.5.0}/docs/layers.rst +0 -0
  38. {nti_testing-4.4.0 → nti_testing-4.5.0}/docs/matchers.rst +0 -0
  39. {nti_testing-4.4.0 → nti_testing-4.5.0}/docs/time.rst +0 -0
  40. {nti_testing-4.4.0 → nti_testing-4.5.0}/docs/zodb.rst +0 -0
  41. {nti_testing-4.4.0 → nti_testing-4.5.0}/pyproject.toml +0 -0
  42. {nti_testing-4.4.0 → nti_testing-4.5.0}/setup.cfg +0 -0
  43. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/__init__.py +0 -0
  44. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/__init__.py +0 -0
  45. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/layers/__init__.py +0 -0
  46. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/layers/cleanup.py +0 -0
  47. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/layers/postgres.py +0 -0
  48. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/layers/tests/__init__.py +0 -0
  49. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/layers/tests/test_postgres.py +0 -0
  50. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/layers/zope.py +0 -0
  51. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/matchers.py +0 -0
  52. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/mock.py +0 -0
  53. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/tests/__init__.py +0 -0
  54. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/tests/test_component_cleanup_broken.txt +0 -0
  55. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/tests/test_layers.py +0 -0
  56. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/tests/test_main.py +0 -0
  57. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/tests/test_matchers.py +0 -0
  58. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/tests/test_time.py +0 -0
  59. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/tests/test_zodb.py +0 -0
  60. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/time.py +0 -0
  61. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti/testing/zodb.py +0 -0
  62. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti.testing.egg-info/dependency_links.txt +0 -0
  63. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti.testing.egg-info/requires.txt +0 -0
  64. {nti_testing-4.4.0 → nti_testing-4.5.0}/src/nti.testing.egg-info/top_level.txt +0 -0
  65. {nti_testing-4.4.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,13 @@
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
+
5
12
  4.4.0 (2025-11-14)
6
13
  ==================
7
14
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nti.testing
3
- Version: 4.4.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
@@ -19,6 +19,7 @@ Classifier: Programming Language :: Python :: 3.11
19
19
  Classifier: Programming Language :: Python :: 3.12
20
20
  Classifier: Programming Language :: Python :: 3.13
21
21
  Classifier: Programming Language :: Python :: 3.14
22
+ Classifier: Programming Language :: Python :: 3.15
22
23
  Classifier: Programming Language :: Python :: Implementation :: CPython
23
24
  Classifier: Programming Language :: Python :: Implementation :: PyPy
24
25
  Classifier: Topic :: Software Development :: Testing
@@ -322,6 +323,13 @@ ZODB in `nti.testing.zodb`. See the API documentation for details.
322
323
  Changes
323
324
  =========
324
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
+
325
333
  4.4.0 (2025-11-14)
326
334
  ==================
327
335