kiwitcms-django-plugin 16.1__tar.gz → 17.3__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 (18) hide show
  1. {kiwitcms_django_plugin-16.1/kiwitcms_django_plugin.egg-info → kiwitcms_django_plugin-17.3}/PKG-INFO +29 -11
  2. {kiwitcms_django_plugin-16.1 → kiwitcms_django_plugin-17.3}/README.rst +24 -4
  3. {kiwitcms_django_plugin-16.1 → kiwitcms_django_plugin-17.3/kiwitcms_django_plugin.egg-info}/PKG-INFO +29 -11
  4. kiwitcms_django_plugin-17.3/kiwitcms_django_plugin.egg-info/requires.txt +2 -0
  5. kiwitcms_django_plugin-17.3/requirements.txt +2 -0
  6. {kiwitcms_django_plugin-16.1 → kiwitcms_django_plugin-17.3}/setup.cfg +4 -0
  7. {kiwitcms_django_plugin-16.1 → kiwitcms_django_plugin-17.3}/setup.py +3 -5
  8. {kiwitcms_django_plugin-16.1 → kiwitcms_django_plugin-17.3}/tcms_django_plugin/result.py +4 -1
  9. kiwitcms_django_plugin-17.3/tcms_django_plugin/version.py +1 -0
  10. kiwitcms_django_plugin-16.1/kiwitcms_django_plugin.egg-info/requires.txt +0 -2
  11. kiwitcms_django_plugin-16.1/requirements.txt +0 -2
  12. kiwitcms_django_plugin-16.1/tcms_django_plugin/version.py +0 -1
  13. {kiwitcms_django_plugin-16.1 → kiwitcms_django_plugin-17.3}/LICENSE +0 -0
  14. {kiwitcms_django_plugin-16.1 → kiwitcms_django_plugin-17.3}/MANIFEST.in +0 -0
  15. {kiwitcms_django_plugin-16.1 → kiwitcms_django_plugin-17.3}/kiwitcms_django_plugin.egg-info/SOURCES.txt +0 -0
  16. {kiwitcms_django_plugin-16.1 → kiwitcms_django_plugin-17.3}/kiwitcms_django_plugin.egg-info/dependency_links.txt +0 -0
  17. {kiwitcms_django_plugin-16.1 → kiwitcms_django_plugin-17.3}/kiwitcms_django_plugin.egg-info/top_level.txt +0 -0
  18. {kiwitcms_django_plugin-16.1 → kiwitcms_django_plugin-17.3}/tcms_django_plugin/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kiwitcms-django-plugin
3
- Version: 16.1
3
+ Version: 17.3
4
4
  Summary: Django test runner plugin for Kiwi TCMS
5
5
  Home-page: https://github.com/kiwitcms/django-plugin
6
6
  Author: Bryan Mutai
@@ -8,29 +8,27 @@ Author-email: work@bryanmutai.co
8
8
  Maintainer: Kiwi TCMS
9
9
  Maintainer-email: info@kiwitcms.org
10
10
  License: GPLv3
11
- Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: Intended Audience :: System Administrators
14
- Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
15
14
  Classifier: Operating System :: POSIX
16
15
  Classifier: Programming Language :: Python
17
- Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.14
18
17
  Classifier: Topic :: Software Development
19
18
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
19
  Classifier: Topic :: Software Development :: Quality Assurance
21
20
  Classifier: Topic :: Software Development :: Testing
22
- Requires-Python: >=3.12
21
+ Requires-Python: >=3.14
23
22
  Description-Content-Type: text/x-rst
24
23
  License-File: LICENSE
25
24
  Requires-Dist: Django>=6
26
- Requires-Dist: tcms-api>=12.7
25
+ Requires-Dist: tcms-api>=17.3
27
26
  Dynamic: author
28
27
  Dynamic: author-email
29
28
  Dynamic: classifier
30
29
  Dynamic: description
31
30
  Dynamic: description-content-type
32
31
  Dynamic: home-page
33
- Dynamic: license
34
32
  Dynamic: license-file
35
33
  Dynamic: maintainer
36
34
  Dynamic: maintainer-email
@@ -41,10 +39,6 @@ Dynamic: summary
41
39
  Django Test Runner plugin for Kiwi TCMS
42
40
  =======================================
43
41
 
44
- .. image:: https://tidelift.com/badges/package/pypi/kiwitcms-django-plugin
45
- :target: https://tidelift.com/subscription/pkg/kiwitcms-django-plugin?utm_source=pypi-kiwitcms-django-plugin&utm_medium=github&utm_campaign=readme
46
- :alt: Tidelift
47
-
48
42
  .. image:: https://img.shields.io/twitter/follow/KiwiTCMS.svg
49
43
  :target: https://twitter.com/KiwiTCMS
50
44
  :alt: Kiwi TCMS on Twitter
@@ -86,9 +80,33 @@ When you run ``./manage.py test`` Django looks at the ``TEST_RUNNER`` setting
86
80
  to determine what to do.
87
81
 
88
82
 
83
+ Stable test case identification
84
+ -------------------------------
85
+
86
+ Test methods can be decorated with ``@TestCase`` from
87
+ ``tcms_api.plugin_helpers`` to reuse an existing TestCase or to specify
88
+ additional TestCase fields::
89
+
90
+ import unittest
91
+ from tcms_api.plugin_helpers import TestCase
92
+
93
+ class CouponTests(unittest.TestCase):
94
+ @TestCase(id=45)
95
+ def test_coupon_guest(self):
96
+ ...
97
+
98
+
89
99
  Changelog
90
100
  ---------
91
101
 
102
+ v17.3 (03 Dec 2026)
103
+ ~~~~~~~~~~~~~~~~~~~
104
+
105
+ - Update tcms-api from 12.7 to 17.3
106
+ - Support the ``@tcms_api.plugin_helpers.TestCase`` decorator for
107
+ stable test case identification
108
+
109
+
92
110
  v16.1 (16 Jun 2026)
93
111
  ~~~~~~~~~~~~~~~~~~~
94
112
 
@@ -1,10 +1,6 @@
1
1
  Django Test Runner plugin for Kiwi TCMS
2
2
  =======================================
3
3
 
4
- .. image:: https://tidelift.com/badges/package/pypi/kiwitcms-django-plugin
5
- :target: https://tidelift.com/subscription/pkg/kiwitcms-django-plugin?utm_source=pypi-kiwitcms-django-plugin&utm_medium=github&utm_campaign=readme
6
- :alt: Tidelift
7
-
8
4
  .. image:: https://img.shields.io/twitter/follow/KiwiTCMS.svg
9
5
  :target: https://twitter.com/KiwiTCMS
10
6
  :alt: Kiwi TCMS on Twitter
@@ -46,9 +42,33 @@ When you run ``./manage.py test`` Django looks at the ``TEST_RUNNER`` setting
46
42
  to determine what to do.
47
43
 
48
44
 
45
+ Stable test case identification
46
+ -------------------------------
47
+
48
+ Test methods can be decorated with ``@TestCase`` from
49
+ ``tcms_api.plugin_helpers`` to reuse an existing TestCase or to specify
50
+ additional TestCase fields::
51
+
52
+ import unittest
53
+ from tcms_api.plugin_helpers import TestCase
54
+
55
+ class CouponTests(unittest.TestCase):
56
+ @TestCase(id=45)
57
+ def test_coupon_guest(self):
58
+ ...
59
+
60
+
49
61
  Changelog
50
62
  ---------
51
63
 
64
+ v17.3 (03 Dec 2026)
65
+ ~~~~~~~~~~~~~~~~~~~
66
+
67
+ - Update tcms-api from 12.7 to 17.3
68
+ - Support the ``@tcms_api.plugin_helpers.TestCase`` decorator for
69
+ stable test case identification
70
+
71
+
52
72
  v16.1 (16 Jun 2026)
53
73
  ~~~~~~~~~~~~~~~~~~~
54
74
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kiwitcms-django-plugin
3
- Version: 16.1
3
+ Version: 17.3
4
4
  Summary: Django test runner plugin for Kiwi TCMS
5
5
  Home-page: https://github.com/kiwitcms/django-plugin
6
6
  Author: Bryan Mutai
@@ -8,29 +8,27 @@ Author-email: work@bryanmutai.co
8
8
  Maintainer: Kiwi TCMS
9
9
  Maintainer-email: info@kiwitcms.org
10
10
  License: GPLv3
11
- Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: Intended Audience :: System Administrators
14
- Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
15
14
  Classifier: Operating System :: POSIX
16
15
  Classifier: Programming Language :: Python
17
- Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.14
18
17
  Classifier: Topic :: Software Development
19
18
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
19
  Classifier: Topic :: Software Development :: Quality Assurance
21
20
  Classifier: Topic :: Software Development :: Testing
22
- Requires-Python: >=3.12
21
+ Requires-Python: >=3.14
23
22
  Description-Content-Type: text/x-rst
24
23
  License-File: LICENSE
25
24
  Requires-Dist: Django>=6
26
- Requires-Dist: tcms-api>=12.7
25
+ Requires-Dist: tcms-api>=17.3
27
26
  Dynamic: author
28
27
  Dynamic: author-email
29
28
  Dynamic: classifier
30
29
  Dynamic: description
31
30
  Dynamic: description-content-type
32
31
  Dynamic: home-page
33
- Dynamic: license
34
32
  Dynamic: license-file
35
33
  Dynamic: maintainer
36
34
  Dynamic: maintainer-email
@@ -41,10 +39,6 @@ Dynamic: summary
41
39
  Django Test Runner plugin for Kiwi TCMS
42
40
  =======================================
43
41
 
44
- .. image:: https://tidelift.com/badges/package/pypi/kiwitcms-django-plugin
45
- :target: https://tidelift.com/subscription/pkg/kiwitcms-django-plugin?utm_source=pypi-kiwitcms-django-plugin&utm_medium=github&utm_campaign=readme
46
- :alt: Tidelift
47
-
48
42
  .. image:: https://img.shields.io/twitter/follow/KiwiTCMS.svg
49
43
  :target: https://twitter.com/KiwiTCMS
50
44
  :alt: Kiwi TCMS on Twitter
@@ -86,9 +80,33 @@ When you run ``./manage.py test`` Django looks at the ``TEST_RUNNER`` setting
86
80
  to determine what to do.
87
81
 
88
82
 
83
+ Stable test case identification
84
+ -------------------------------
85
+
86
+ Test methods can be decorated with ``@TestCase`` from
87
+ ``tcms_api.plugin_helpers`` to reuse an existing TestCase or to specify
88
+ additional TestCase fields::
89
+
90
+ import unittest
91
+ from tcms_api.plugin_helpers import TestCase
92
+
93
+ class CouponTests(unittest.TestCase):
94
+ @TestCase(id=45)
95
+ def test_coupon_guest(self):
96
+ ...
97
+
98
+
89
99
  Changelog
90
100
  ---------
91
101
 
102
+ v17.3 (03 Dec 2026)
103
+ ~~~~~~~~~~~~~~~~~~~
104
+
105
+ - Update tcms-api from 12.7 to 17.3
106
+ - Support the ``@tcms_api.plugin_helpers.TestCase`` decorator for
107
+ stable test case identification
108
+
109
+
92
110
  v16.1 (16 Jun 2026)
93
111
  ~~~~~~~~~~~~~~~~~~~
94
112
 
@@ -0,0 +1,2 @@
1
+ Django>=6
2
+ tcms-api>=17.3
@@ -0,0 +1,2 @@
1
+ Django>=6
2
+ tcms-api>=17.3
@@ -1,3 +1,7 @@
1
+ [metadata]
2
+ license = GPLv3
3
+ license_files = LICENSE
4
+
1
5
  [flake8]
2
6
  max-line-length = 102
3
7
  extend-ignore = E203
@@ -33,18 +33,16 @@ setup(
33
33
  author_email="work@bryanmutai.co",
34
34
  maintainer="Kiwi TCMS",
35
35
  maintainer_email="info@kiwitcms.org",
36
- license="GPLv3",
37
36
  url="https://github.com/kiwitcms/django-plugin",
38
- python_requires=">=3.12",
37
+ python_requires=">=3.14",
39
38
  install_requires=REQUIREMENTS,
40
39
  classifiers=[
41
- "Development Status :: 3 - Alpha",
40
+ "Development Status :: 5 - Production/Stable",
42
41
  "Intended Audience :: Developers",
43
42
  "Intended Audience :: System Administrators",
44
- "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
45
43
  "Operating System :: POSIX",
46
44
  "Programming Language :: Python",
47
- "Programming Language :: Python :: 3.12",
45
+ "Programming Language :: Python :: 3.14",
48
46
  "Topic :: Software Development",
49
47
  "Topic :: Software Development :: Libraries :: Python Modules",
50
48
  "Topic :: Software Development :: Quality Assurance",
@@ -27,7 +27,10 @@ class KiwiTCMSIntegrationMixin: # pylint: disable=invalid-name
27
27
 
28
28
  def startTest(self, test):
29
29
  super().startTest(test)
30
- test_case, _ = self.backend.test_case_get_or_create(self.getDescription(test))
30
+ test_method = getattr(test, getattr(test, "_testMethodName", ""), None)
31
+ test_case, _ = self.backend.test_case_get_or_create(
32
+ self.getDescription(test), test_method
33
+ )
31
34
  self.backend.add_test_case_to_plan(test_case["id"], self.backend.plan_id)
32
35
  self.test_executions = self.backend.add_test_case_to_run(
33
36
  test_case["id"], self.backend.run_id
@@ -0,0 +1 @@
1
+ __version__ = "17.3"
@@ -1,2 +0,0 @@
1
- Django>=6
2
- tcms-api>=12.7
@@ -1,2 +0,0 @@
1
- Django>=6
2
- tcms-api>=12.7
@@ -1 +0,0 @@
1
- __version__ = "16.1"