Skip to content

Commit ffa87c9

Browse files
modify test_new_pr_from_branch to also check that setting pr-descr works
1 parent 4908e07 commit ffa87c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/framework/options.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3308,6 +3308,7 @@ def test_new_pr_from_branch(self):
33083308
'--new-pr-from-branch=%s' % test_branch,
33093309
'--github-user=%s' % GITHUB_TEST_ACCOUNT, # used to get GitHub token
33103310
'--github-org=boegel', # used to determine account to grab branch from
3311+
'--pr-descr="an easyconfig for toy"',
33113312
'-D',
33123313
]
33133314
txt, _ = self._run_mock_eb(args, do_build=True, raise_error=True, testing=False)
@@ -3326,6 +3327,7 @@ def test_new_pr_from_branch(self):
33263327
r"\* target: easybuilders/easybuild-easyconfigs:develop$",
33273328
r"^\* from: boegel/easybuild-easyconfigs:test_new_pr_from_branch_DO_NOT_REMOVE$",
33283329
r'^\* title: "\{tools\}\[system/system\] toy v0\.0"$',
3330+
r'^"an easyconfig for toy"$',
33293331
r"^ 1 file changed, 32 insertions\(\+\)$",
33303332
r"^\* overview of changes:\n easybuild/easyconfigs/t/toy/toy-0\.0\.eb | 32",
33313333
]

0 commit comments

Comments
 (0)