testit-adapter-nose 3.5.2__tar.gz → 3.5.4__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testit-adapter-nose
3
- Version: 3.5.2
3
+ Version: 3.5.4
4
4
  Summary: Nose adapter for Test IT
5
5
  Home-page: https://github.com/testit-tms/adapters-python/
6
6
  Author: Integration team
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: 3.12
17
17
  Description-Content-Type: text/markdown
18
18
  Requires-Dist: attrs
19
19
  Requires-Dist: nose2
20
- Requires-Dist: testit-python-commons==3.5.2
20
+ Requires-Dist: testit-python-commons==3.5.4
21
21
  Dynamic: author
22
22
  Dynamic: author-email
23
23
  Dynamic: classifier
@@ -63,11 +63,11 @@ pip install testit-adapter-nose
63
63
  | Mode of automatic updation links to test cases (**It's optional**). Default value - false. The adapter supports following modes:<br/>true - in this mode, the adapter will update links to test cases<br/>false - in this mode, the adapter will not update link to test cases | automaticUpdationLinksToTestCases | TMS_AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES |
64
64
  | Mode of import type selection when launching autotests (**It's optional**). Default value - true. The adapter supports following modes:<br/>true - in this mode, the adapter will create/update each autotest in real time<br/>false - in this mode, the adapter will create/update multiple autotests | importRealtime | TMS_IMPORT_REALTIME |
65
65
  | Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY |
66
- | Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE |
66
+ | Name (**including extension**) of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE |
67
67
 
68
68
  #### File
69
69
 
70
- Create **connection_config.ini** file in the root directory of the project:
70
+ Add `[testit]` block to your **pyproject.toml** or create **connection_config.ini** file in the root directory of the project:
71
71
  ```
72
72
  [testit]
73
73
  URL = URL
@@ -89,7 +89,7 @@ tmsProxy = TMS_PROXY
89
89
 
90
90
  #### Examples
91
91
 
92
- Launch with a connection_config.ini file in the root directory of the project:
92
+ Launch with a `pyproject.toml` or `connection_config.ini` file in the root directory of the project:
93
93
 
94
94
  ```
95
95
  $ nose2 --testit
@@ -33,11 +33,11 @@ pip install testit-adapter-nose
33
33
  | Mode of automatic updation links to test cases (**It's optional**). Default value - false. The adapter supports following modes:<br/>true - in this mode, the adapter will update links to test cases<br/>false - in this mode, the adapter will not update link to test cases | automaticUpdationLinksToTestCases | TMS_AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES |
34
34
  | Mode of import type selection when launching autotests (**It's optional**). Default value - true. The adapter supports following modes:<br/>true - in this mode, the adapter will create/update each autotest in real time<br/>false - in this mode, the adapter will create/update multiple autotests | importRealtime | TMS_IMPORT_REALTIME |
35
35
  | Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY |
36
- | Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE |
36
+ | Name (**including extension**) of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE |
37
37
 
38
38
  #### File
39
39
 
40
- Create **connection_config.ini** file in the root directory of the project:
40
+ Add `[testit]` block to your **pyproject.toml** or create **connection_config.ini** file in the root directory of the project:
41
41
  ```
42
42
  [testit]
43
43
  URL = URL
@@ -59,7 +59,7 @@ tmsProxy = TMS_PROXY
59
59
 
60
60
  #### Examples
61
61
 
62
- Launch with a connection_config.ini file in the root directory of the project:
62
+ Launch with a `pyproject.toml` or `connection_config.ini` file in the root directory of the project:
63
63
 
64
64
  ```
65
65
  $ nose2 --testit
@@ -1,6 +1,6 @@
1
1
  from setuptools import setup, find_packages
2
2
 
3
- VERSION = "3.5.2"
3
+ VERSION = "3.5.4"
4
4
 
5
5
  setup(
6
6
  name='testit-adapter-nose',
@@ -143,7 +143,7 @@ def __get_class_name_from(item, function):
143
143
  i = function.__qualname__.find('.')
144
144
 
145
145
  if i != -1:
146
- return func.__qualname__[:i]
146
+ return function.__qualname__[:i]
147
147
 
148
148
  return None
149
149
 
@@ -264,9 +264,9 @@ def __join_nose_test_node(test_node_parts: typing.List[str]):
264
264
  return ".".join(test_node_parts)
265
265
 
266
266
 
267
- def __search_attribute(func, attribute):
268
- if hasattr(func, attribute):
269
- return getattr(func, attribute)
267
+ def __search_attribute(function, attribute):
268
+ if hasattr(function, attribute):
269
+ return getattr(function, attribute)
270
270
 
271
271
  return
272
272
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testit-adapter-nose
3
- Version: 3.5.2
3
+ Version: 3.5.4
4
4
  Summary: Nose adapter for Test IT
5
5
  Home-page: https://github.com/testit-tms/adapters-python/
6
6
  Author: Integration team
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: 3.12
17
17
  Description-Content-Type: text/markdown
18
18
  Requires-Dist: attrs
19
19
  Requires-Dist: nose2
20
- Requires-Dist: testit-python-commons==3.5.2
20
+ Requires-Dist: testit-python-commons==3.5.4
21
21
  Dynamic: author
22
22
  Dynamic: author-email
23
23
  Dynamic: classifier
@@ -63,11 +63,11 @@ pip install testit-adapter-nose
63
63
  | Mode of automatic updation links to test cases (**It's optional**). Default value - false. The adapter supports following modes:<br/>true - in this mode, the adapter will update links to test cases<br/>false - in this mode, the adapter will not update link to test cases | automaticUpdationLinksToTestCases | TMS_AUTOMATIC_UPDATION_LINKS_TO_TEST_CASES |
64
64
  | Mode of import type selection when launching autotests (**It's optional**). Default value - true. The adapter supports following modes:<br/>true - in this mode, the adapter will create/update each autotest in real time<br/>false - in this mode, the adapter will create/update multiple autotests | importRealtime | TMS_IMPORT_REALTIME |
65
65
  | Url of proxy server (**It's optional**) | tmsProxy | TMS_PROXY |
66
- | Name of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE |
66
+ | Name (**including extension**) of the configuration file If it is not provided, it is used default file name (**It's optional**) | - | TMS_CONFIG_FILE |
67
67
 
68
68
  #### File
69
69
 
70
- Create **connection_config.ini** file in the root directory of the project:
70
+ Add `[testit]` block to your **pyproject.toml** or create **connection_config.ini** file in the root directory of the project:
71
71
  ```
72
72
  [testit]
73
73
  URL = URL
@@ -89,7 +89,7 @@ tmsProxy = TMS_PROXY
89
89
 
90
90
  #### Examples
91
91
 
92
- Launch with a connection_config.ini file in the root directory of the project:
92
+ Launch with a `pyproject.toml` or `connection_config.ini` file in the root directory of the project:
93
93
 
94
94
  ```
95
95
  $ nose2 --testit
@@ -0,0 +1,3 @@
1
+ attrs
2
+ nose2
3
+ testit-python-commons==3.5.4
@@ -1,3 +0,0 @@
1
- attrs
2
- nose2
3
- testit-python-commons==3.5.2