testit-adapter-behave 3.10.6__tar.gz → 3.10.7__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 (23) hide show
  1. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/PKG-INFO +4 -2
  2. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/README.md +2 -0
  3. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/setup.py +1 -1
  4. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/src/testit_adapter_behave/tags_parser.py +10 -6
  5. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/src/testit_adapter_behave.egg-info/PKG-INFO +4 -2
  6. testit_adapter_behave-3.10.7/src/testit_adapter_behave.egg-info/requires.txt +3 -0
  7. testit_adapter_behave-3.10.6/src/testit_adapter_behave.egg-info/requires.txt +0 -3
  8. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/setup.cfg +0 -0
  9. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/src/testit_adapter_behave/__init__.py +0 -0
  10. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/src/testit_adapter_behave/formatter.py +0 -0
  11. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/src/testit_adapter_behave/listener.py +0 -0
  12. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/src/testit_adapter_behave/models/__init__.py +0 -0
  13. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/src/testit_adapter_behave/models/label.py +0 -0
  14. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/src/testit_adapter_behave/models/option.py +0 -0
  15. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/src/testit_adapter_behave/models/tags.py +0 -0
  16. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/src/testit_adapter_behave/models/test_result_step.py +0 -0
  17. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/src/testit_adapter_behave/models/url_link.py +0 -0
  18. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/src/testit_adapter_behave/scenario_parser.py +0 -0
  19. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/src/testit_adapter_behave/utils.py +0 -0
  20. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/src/testit_adapter_behave.egg-info/SOURCES.txt +0 -0
  21. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/src/testit_adapter_behave.egg-info/dependency_links.txt +0 -0
  22. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/src/testit_adapter_behave.egg-info/top_level.txt +0 -0
  23. {testit_adapter_behave-3.10.6 → testit_adapter_behave-3.10.7}/tests/test_formatter.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testit-adapter-behave
3
- Version: 3.10.6
3
+ Version: 3.10.7
4
4
  Summary: Behave adapter for Test IT
5
5
  Home-page: https://github.com/testit-tms/adapters-python/
6
6
  Author: Integration team
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3.11
16
16
  Classifier: Programming Language :: Python :: 3.12
17
17
  Description-Content-Type: text/markdown
18
18
  Requires-Dist: behave
19
- Requires-Dist: testit-python-commons==3.10.6
19
+ Requires-Dist: testit-python-commons==3.10.7
20
20
  Requires-Dist: attrs
21
21
  Dynamic: author
22
22
  Dynamic: author-email
@@ -139,6 +139,8 @@ Description of tags:
139
139
  - `NameSpace` - directory in the TMS system (default - file's name of test)
140
140
  - `ClassName` - subdirectory in the TMS system (default - class's name of test)
141
141
 
142
+ If you want to insert a space in the tags, use the "\\_" character combination.
143
+
142
144
  Description of methods:
143
145
 
144
146
  - `testit.addLinks` - links in the autotest result
@@ -109,6 +109,8 @@ Description of tags:
109
109
  - `NameSpace` - directory in the TMS system (default - file's name of test)
110
110
  - `ClassName` - subdirectory in the TMS system (default - class's name of test)
111
111
 
112
+ If you want to insert a space in the tags, use the "\\_" character combination.
113
+
112
114
  Description of methods:
113
115
 
114
116
  - `testit.addLinks` - links in the autotest result
@@ -1,6 +1,6 @@
1
1
  from setuptools import find_packages, setup
2
2
 
3
- VERSION = "3.10.6"
3
+ VERSION = "3.10.7"
4
4
 
5
5
  setup(
6
6
  name='testit-adapter-behave',
@@ -12,10 +12,10 @@ def parse_tags(tags):
12
12
 
13
13
  for tag in tags:
14
14
  if TagType.EXTERNAL_ID in tag:
15
- parsed_tags[TagType.EXTERNAL_ID] = tag[len(TagType.EXTERNAL_ID):]
15
+ parsed_tags[TagType.EXTERNAL_ID] = parse_space_in_tag(tag[len(TagType.EXTERNAL_ID):])
16
16
 
17
17
  elif TagType.DISPLAY_NAME in tag:
18
- parsed_tags[TagType.DISPLAY_NAME] = tag[len(TagType.DISPLAY_NAME):]
18
+ parsed_tags[TagType.DISPLAY_NAME] = parse_space_in_tag(tag[len(TagType.DISPLAY_NAME):])
19
19
 
20
20
  elif TagType.LINKS in tag:
21
21
  parsed_tags[TagType.LINKS].extend(
@@ -23,7 +23,7 @@ def parse_tags(tags):
23
23
  tag[len(TagType.LINKS):]))
24
24
 
25
25
  elif TagType.TITLE in tag:
26
- parsed_tags[TagType.TITLE] = tag[len(TagType.TITLE):]
26
+ parsed_tags[TagType.TITLE] = parse_space_in_tag(tag[len(TagType.TITLE):])
27
27
 
28
28
  elif TagType.WORK_ITEM_IDS in tag:
29
29
  parsed_tags[TagType.WORK_ITEM_IDS].extend(
@@ -31,7 +31,7 @@ def parse_tags(tags):
31
31
  tag[len(TagType.WORK_ITEM_IDS):]))
32
32
 
33
33
  elif TagType.DESCRIPTION in tag:
34
- parsed_tags[TagType.DESCRIPTION] = tag[len(TagType.DESCRIPTION):]
34
+ parsed_tags[TagType.DESCRIPTION] = parse_space_in_tag(tag[len(TagType.DESCRIPTION):])
35
35
 
36
36
  elif TagType.LABELS in tag:
37
37
  parsed_tags[TagType.LABELS].extend(
@@ -39,10 +39,10 @@ def parse_tags(tags):
39
39
  tag[len(TagType.LABELS):]))
40
40
 
41
41
  elif TagType.NAMESPACE in tag:
42
- parsed_tags[TagType.NAMESPACE] = tag[len(TagType.NAMESPACE):]
42
+ parsed_tags[TagType.NAMESPACE] = parse_space_in_tag(tag[len(TagType.NAMESPACE):])
43
43
 
44
44
  elif TagType.CLASSNAME in tag:
45
- parsed_tags[TagType.CLASSNAME] = tag[len(TagType.CLASSNAME):]
45
+ parsed_tags[TagType.CLASSNAME] = parse_space_in_tag(tag[len(TagType.CLASSNAME):])
46
46
 
47
47
  return parsed_tags
48
48
 
@@ -83,3 +83,7 @@ def parse_json(json_string: str):
83
83
  return eval(json_string)
84
84
  except Exception:
85
85
  return
86
+
87
+
88
+ def parse_space_in_tag(tag: str) -> str:
89
+ return tag.replace('\\_', ' ')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testit-adapter-behave
3
- Version: 3.10.6
3
+ Version: 3.10.7
4
4
  Summary: Behave adapter for Test IT
5
5
  Home-page: https://github.com/testit-tms/adapters-python/
6
6
  Author: Integration team
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3.11
16
16
  Classifier: Programming Language :: Python :: 3.12
17
17
  Description-Content-Type: text/markdown
18
18
  Requires-Dist: behave
19
- Requires-Dist: testit-python-commons==3.10.6
19
+ Requires-Dist: testit-python-commons==3.10.7
20
20
  Requires-Dist: attrs
21
21
  Dynamic: author
22
22
  Dynamic: author-email
@@ -139,6 +139,8 @@ Description of tags:
139
139
  - `NameSpace` - directory in the TMS system (default - file's name of test)
140
140
  - `ClassName` - subdirectory in the TMS system (default - class's name of test)
141
141
 
142
+ If you want to insert a space in the tags, use the "\\_" character combination.
143
+
142
144
  Description of methods:
143
145
 
144
146
  - `testit.addLinks` - links in the autotest result
@@ -0,0 +1,3 @@
1
+ behave
2
+ testit-python-commons==3.10.7
3
+ attrs
@@ -1,3 +0,0 @@
1
- behave
2
- testit-python-commons==3.10.6
3
- attrs