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:
Robert Alonso
2024-11-10 04:28:37 +00:00
parent 30b3d43dec
commit 2997380286
3 changed files with 54 additions and 1 deletions

View File

@@ -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.