-
Notifications
You must be signed in to change notification settings - Fork 85
Expand file tree
/
Copy pathtest_nested.ambr
More file actions
21 lines (20 loc) · 5.11 KB
/
test_nested.ambr
File metadata and controls
21 lines (20 loc) · 5.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# serializer version: 1
# name: test_nested[test_app0]
list([
'''
Need 'SPEC_002' has schema violations:
Severity: violation
Need path: SPEC_002 > parent_needs
Schema path: spec-has-req-parent[0] > validate > network > parent_needs > contains
Schema message: Too few valid links of type 'parent_needs' (0 < 1) [sn_schema_violation.network_contains_too_few]
''',
])
# ---
# name: test_nested[test_app0].1
list([
NeedItem(core={'id': 'REQ_001', 'type': 'req', 'type_name': 'Requirement', 'type_prefix': 'R_', 'type_color': '#BFD8D2', 'type_style': 'node', 'title': 'Req lvl 1', 'status': 'open', 'tags': [], 'constraints': [], 'collapse': False, 'hide': False, 'style': None, 'layout': None, 'external_css': 'external_link', 'arch': {}, 'has_dead_links': False, 'has_forbidden_dead_links': False, 'sections': ('TEST DOCUMENT',), 'signature': None}, extras={'duration': None, 'completion': None, 'query': '', 'specific': '', 'max_amount': '', 'max_content_lines': '', 'id_prefix': '', 'user': '', 'created_at': '', 'updated_at': '', 'closed_at': '', 'service': '', 'url': '', 'avatar': '', 'params': '', 'prefix': '', 'url_postfix': ''}, links={'links': [], 'parent_needs': []}, backlinks={'links': ['TEST_001'], 'parent_needs': ['SPEC_001']}, source=NeedItemSourceDirective(docname='index', lineno=4, lineno_content=8), content=NeedsContent(doctype='.rst', content='Content before\n\n.. spec:: Spec lvl 2\n :id: SPEC_001\n :status: open\n\n .. test:: Test lvl 3\n :id: TEST_001\n :status: open\n :links: REQ_001\n\nContent after', pre_content=None, post_content=None, jinja_content=False, template=None, pre_template=None, post_template=None), parts={}, modifications=(), dynamic_fields={}),
NeedItem(core={'id': 'SPEC_001', 'type': 'spec', 'type_name': 'Specification', 'type_prefix': 'S_', 'type_color': '#FEDCD2', 'type_style': 'node', 'title': 'Spec lvl 2', 'status': 'open', 'tags': [], 'constraints': [], 'collapse': False, 'hide': False, 'style': None, 'layout': None, 'external_css': 'external_link', 'arch': {}, 'has_dead_links': False, 'has_forbidden_dead_links': False, 'sections': ('TEST DOCUMENT',), 'signature': None}, extras={'duration': None, 'completion': None, 'query': '', 'specific': '', 'max_amount': '', 'max_content_lines': '', 'id_prefix': '', 'user': '', 'created_at': '', 'updated_at': '', 'closed_at': '', 'service': '', 'url': '', 'avatar': '', 'params': '', 'prefix': '', 'url_postfix': ''}, links={'links': [], 'parent_needs': ['REQ_001']}, backlinks={'links': [], 'parent_needs': ['TEST_001']}, source=NeedItemSourceDirective(docname='index', lineno=10, lineno_content=14), content=NeedsContent(doctype='.rst', content='.. test:: Test lvl 3\n :id: TEST_001\n :status: open\n :links: REQ_001', pre_content=None, post_content=None, jinja_content=False, template=None, pre_template=None, post_template=None), parts={}, modifications=(), dynamic_fields={}),
NeedItem(core={'id': 'TEST_001', 'type': 'test', 'type_name': 'Test Case', 'type_prefix': 'T_', 'type_color': '#DCB239', 'type_style': 'node', 'title': 'Test lvl 3', 'status': 'open', 'tags': [], 'constraints': [], 'collapse': False, 'hide': False, 'style': None, 'layout': None, 'external_css': 'external_link', 'arch': {}, 'has_dead_links': False, 'has_forbidden_dead_links': False, 'sections': ('TEST DOCUMENT',), 'signature': None}, extras={'duration': None, 'completion': None, 'query': '', 'specific': '', 'max_amount': '', 'max_content_lines': '', 'id_prefix': '', 'user': '', 'created_at': '', 'updated_at': '', 'closed_at': '', 'service': '', 'url': '', 'avatar': '', 'params': '', 'prefix': '', 'url_postfix': ''}, links={'links': ['REQ_001'], 'parent_needs': ['SPEC_001']}, backlinks={'links': [], 'parent_needs': []}, source=NeedItemSourceDirective(docname='index', lineno=14, lineno_content=19), content=NeedsContent(doctype='.rst', content='', pre_content=None, post_content=None, jinja_content=False, template=None, pre_template=None, post_template=None), parts={}, modifications=(), dynamic_fields={}),
NeedItem(core={'id': 'SPEC_002', 'type': 'spec', 'type_name': 'Specification', 'type_prefix': 'S_', 'type_color': '#FEDCD2', 'type_style': 'node', 'title': 'Spec lvl 1', 'status': 'open', 'tags': [], 'constraints': [], 'collapse': False, 'hide': False, 'style': None, 'layout': None, 'external_css': 'external_link', 'arch': {}, 'has_dead_links': False, 'has_forbidden_dead_links': False, 'sections': ('TEST DOCUMENT',), 'signature': None}, extras={'duration': None, 'completion': None, 'query': '', 'specific': '', 'max_amount': '', 'max_content_lines': '', 'id_prefix': '', 'user': '', 'created_at': '', 'updated_at': '', 'closed_at': '', 'service': '', 'url': '', 'avatar': '', 'params': '', 'prefix': '', 'url_postfix': ''}, links={'links': [], 'parent_needs': []}, backlinks={'links': [], 'parent_needs': []}, source=NeedItemSourceDirective(docname='index', lineno=21, lineno_content=25), content=NeedsContent(doctype='.rst', content='', pre_content=None, post_content=None, jinja_content=False, template=None, pre_template=None, post_template=None), parts={}, modifications=(), dynamic_fields={}),
])
# ---