Fixed test_step_source: git step now containing --progress in the command line

This commit is contained in:
Marvin Pohl 2019-12-20 10:06:31 +01:00
parent 5bbeabbe39
commit b8aa5dd740

View File

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