mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-25 07:16:42 +00:00
test: added tests for known bugs
Added tests for issues #224/#225 and #229. Since these are known bugs, the tests are currently marked as expected failures. Once the solution is implemented, that designation can be removed and we'll still keep the test to make sure there aren't any regressions.
This commit is contained in:
3
main.py
3
main.py
@@ -105,6 +105,9 @@ def process_diff(diff, client=Client(), insert_issue_urls=False, parser=TodoPars
|
||||
# Stagger the requests to be on the safe side.
|
||||
sleep(1)
|
||||
|
||||
return raw_issues
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
client: Client | None = None
|
||||
# Try to create a basic client for communicating with the remote version control server, automatically initialised with environment variables.
|
||||
|
||||
Reference in New Issue
Block a user