diff --git a/buildbot_gitea/test/test_step_source.py b/buildbot_gitea/test/test_step_source.py index 61982d0..660850a 100644 --- a/buildbot_gitea/test/test_step_source.py +++ b/buildbot_gitea/test/test_step_source.py @@ -78,7 +78,7 @@ class TestGitea(sourcesteps.SourceStepMixin, config.ConfigErrorsMixin, unittest. # here we always ignore revision, and fetch the merge branch ExpectShell(workdir='wkdir', command=['git', 'fetch', '-t', - 'git@gitea.example.com:base/awesome_project.git', 'HEAD']) + 'git@gitea.example.com:base/awesome_project.git', 'HEAD', '--progress']) + 0, ExpectShell(workdir='wkdir', command=['git', 'reset', '--hard', 'FETCH_HEAD', '--'])