@@ -3168,18 +3168,20 @@ def test_sync_branch_with_develop(self):
31683168 '--sync-branch-with-develop=%s' % test_branch ,
31693169 '--dry-run' ,
31703170 ]
3171- txt , _ = self ._run_mock_eb (args , do_build = True , raise_error = True , testing = False )
3171+ stdout , stderr = self ._run_mock_eb (args , do_build = True , raise_error = True , testing = False )
3172+
3173+ self .assertFalse (stderr )
31723174
31733175 github_path = r"boegel/easybuild-easyconfigs\.git"
31743176 pattern = '\n ' .join ([
31753177 r"== temporary log file in case of crash .*" ,
31763178 r"== fetching branch '%s' from https://github\.com/%s\.\.\." % (test_branch , github_path ),
31773179 r"== pulling latest version of 'develop' branch from easybuilders/easybuild-easyconfigs\.\.\." ,
3178- r"== merging 'develop' branch into PR branch 'develop '\.\.\." ,
3179- r"== pushing branch 'develop ' to remote '.*' \(git@github\.com:%s\) \[DRY RUN\]" % github_path ,
3180+ r"== merging 'develop' branch into PR branch '%s '\.\.\." % test_branch ,
3181+ r"== pushing branch '%s ' to remote '.*' \(git@github\.com:%s\) \[DRY RUN\]" % ( test_branch , github_path ) ,
31803182 ])
31813183 regex = re .compile (pattern )
3182- self .assertTrue (regex .match (txt ), "Pattern '%s' doesn't match: %s" % (regex .pattern , txt ))
3184+ self .assertTrue (regex .match (stdout ), "Pattern '%s' doesn't match: %s" % (regex .pattern , stdout ))
31833185
31843186 def test_new_pr_python (self ):
31853187 """Check generated PR title for --new-pr on easyconfig that includes Python dependency."""
0 commit comments