singuliere 49cab2b01f migrations: add test for importing pull requests in gitea uploader (#18752)
* logs: add the buffer logger to inspect logs during testing

Signed-off-by: Loïc Dachary <loic@dachary.org>

* migrations: add test for importing pull requests in gitea uploader

Signed-off-by: Loïc Dachary <loic@dachary.org>

* for each git.OpenRepositoryCtx, call Close

* Content is expected to return the content of the log

* test for errors before defer

Co-authored-by: Loïc Dachary <loic@dachary.org>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-02-25 17:20:50 +08:00
..
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2022-01-20 19:41:25 +08:00
2022-01-20 18:46:10 +01:00
2021-06-07 07:27:09 +02:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00