Skip to content

Commit bd1ad33

Browse files
committed
skip test_det_account_branch_for_pr if no GitHub token is available
1 parent 2a2da88 commit bd1ad33

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/framework/github.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,9 @@ def test_create_delete_gist(self):
638638

639639
def test_det_account_branch_for_pr(self):
640640
"""Test det_account_branch_for_pr."""
641+
if self.skip_github_tests:
642+
print("Skipping test_det_account_branch_for_pr, no GitHub token available?")
643+
return
641644

642645
init_config(build_options={
643646
'pr_target_account': 'easybuilders',

0 commit comments

Comments
 (0)