You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4b745a3
Browse filesBrowse the repository at this point in the historyBrowse files
fix: comprehensive tests and bug fixes for decorators and processor (#60)
* fix: comprehensive tests and bug fixes for decorators and processor
- Create missing src/reqstool_python_decorators/decorators/__init__.py
- Fix broken import paths in test resources and README
(src.reqstool_decorators → reqstool_python_decorators)
- Fix state accumulation bug: reset req_svc_results at start of
process_decorated_data() to prevent results doubling on repeated calls
- Fix fragile AST elementKind extraction: replace CPython repr parsing
str(type(node)).split(".")[-1][:-5] with node.__class__.__name__[:-3]
- Add str | os.PathLike to all path/file parameters
- Add test_decorators.py with 7 tests covering Requirements/SVCs decorators
- Expand test_processors.py from 5 to 32 tests covering all previously
untested methods; standardise fixtures on tmp_path
* style: apply black formatting to decorator_processor
0 commit comments