-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc3242a
commit d769707
Showing
34 changed files
with
413 additions
and
542 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
from .configuration import ( # noqa: F401 | ||
from .configuration import ( | ||
add_dynamic_function, | ||
add_extra_option, | ||
add_need_type, | ||
get_need_types, | ||
) | ||
from .need import add_external_need, add_need, del_need, make_hashed_id # noqa: F401 | ||
from .need import add_external_need, add_need, del_need, make_hashed_id | ||
|
||
__all__ = ( | ||
"add_dynamic_function", | ||
"add_extra_option", | ||
"add_need_type", | ||
"get_need_types", | ||
"add_external_need", | ||
"add_need", | ||
"del_need", | ||
"make_hashed_id", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# name: test_section_is_usable_in_filters[test_app0] | ||
dict({ | ||
'R_12345': dict({ | ||
'description': 'The Tool **shall** have a command line interface.', | ||
'docname': 'index', | ||
'external_css': 'external_link', | ||
'full_title': 'Command line interface', | ||
'id': 'R_12345', | ||
'impacts': 'component_a', | ||
'introduced': '1.0.0', | ||
'layout': '', | ||
'section_name': '1.1 First Section', | ||
'sections': list([ | ||
'1.1 First Section', | ||
'1 TEST DOCUMENT', | ||
]), | ||
'tags': list([ | ||
'test', | ||
'test2', | ||
]), | ||
'target_id': 'R_12345', | ||
'title': 'Command line interface', | ||
'type': 'req', | ||
'type_name': 'Requirement', | ||
'updated': '1.5.1', | ||
}), | ||
'R_12346': dict({ | ||
'description': 'The Tool **shall** have a command line interface.', | ||
'docname': 'index', | ||
'external_css': 'external_link', | ||
'full_title': 'Another Requirement', | ||
'id': 'R_12346', | ||
'impacts': 'component_b', | ||
'introduced': '1.1.1', | ||
'layout': '', | ||
'section_name': '1.2 Second Section', | ||
'sections': list([ | ||
'1.2 Second Section', | ||
'1 TEST DOCUMENT', | ||
]), | ||
'tags': list([ | ||
'test', | ||
'test2', | ||
]), | ||
'target_id': 'R_12346', | ||
'title': 'Another Requirement', | ||
'type': 'req', | ||
'type_name': 'Requirement', | ||
'updated': '1.4.0', | ||
}), | ||
'T_001': dict({ | ||
'description': '', | ||
'docname': 'index', | ||
'external_css': 'external_link', | ||
'full_title': 'test method', | ||
'id': 'T_001', | ||
'layout': '', | ||
'section_name': '1.3 need in API', | ||
'sections': list([ | ||
'1.3 need in API', | ||
'1 TEST DOCUMENT', | ||
]), | ||
'signature': 'test_method', | ||
'target_id': 'T_001', | ||
'title': 'test method', | ||
'type': 'test', | ||
'type_name': 'Test Case', | ||
}), | ||
}) | ||
# --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# name: test_api_add_type[test_app0] | ||
list([ | ||
dict({ | ||
'color': '#BFD8D2', | ||
'directive': 'story', | ||
'prefix': 'US_', | ||
'title': 'User Story', | ||
}), | ||
dict({ | ||
'color': '#FEDCD2', | ||
'directive': 'spec', | ||
'prefix': 'SP_', | ||
'title': 'Specification', | ||
}), | ||
dict({ | ||
'color': '#DF744A', | ||
'directive': 'impl', | ||
'prefix': 'IM_', | ||
'title': 'Implementation', | ||
}), | ||
dict({ | ||
'color': '#DCB239', | ||
'directive': 'test', | ||
'prefix': 'TC_', | ||
'title': 'Test Case', | ||
}), | ||
dict({ | ||
'color': '#000000', | ||
'directive': 'awesome', | ||
'prefix': 'AW_', | ||
'style': 'cloud', | ||
'title': 'Awesome', | ||
}), | ||
]) | ||
# --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
tests/doc_test/add_sections/conf.py → tests/doc_test/add_sections_sigs/conf.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
project = "needs" | ||
version = "0.1.0" | ||
copyright = "2024" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.