lab132 / buildbot-gitea

Buildbot plugin for integration with gitea.
MIT License
62 stars 21 forks source link

WIP: Update tests for new API #38

Closed tadeas-vintrlik closed 9 months ago

tadeas-vintrlik commented 11 months ago

I found a little while to try and update the test to get them to run.

I managed to get all of the running except for test_step_source. I was unable to get that one to work as it failed on non matching expected commands. If you might find a while to look into it I'm certain you'll easily find a fix.

This should be merged after https://github.com/lab132/buildbot-gitea/pull/37. I might even add a test there for the fixed bug.

I also made a branch with rewrite of the slowly deprecating setup.py to pyproject.toml to comply with newer PEPs: https://github.com/tadeas-vintrlik/buildbot-gitea/tree/feature/pyproject.

It could either be a part of this PR or a separate one, whichever you prefer.

pampersrocker commented 11 months ago

Thank you very much for the PRs!, They all look great so far. I will try to fixup the rest of the tests as soon as I can.

pampersrocker commented 9 months ago

Sorry for the late response, but #37 an #38 are now in v1.8.0