Skip to content

Commit

Permalink
[PTFE-583] ✨ Prevent creation of integration branches
Browse files Browse the repository at this point in the history
  • Loading branch information
gaspardmoindrot committed Jul 25, 2023
1 parent 2b9394d commit 7b7d227
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions bert_e/tests/test_bert_e.py
Original file line number Diff line number Diff line change
Expand Up @@ -1373,12 +1373,9 @@ def test_integration_branch_creation_latest_branch(self):
self.handle(pr.id, settings=settings, options=options)
self.assertEqual(len(list(pr.get_comments())), 1)

# command: status
#pr.add_comment('@%s status' % self.args.robot_username)
#with self.assertRaises(exns.StatusReport):
# self.handle(pr.id, backtrace=True)

#print(self.get_build_status_on_pr_id(pr.id))
with self.assertRaises(exns.BuildNotStarted):
self.handle(
pr.id, settings=settings, options=options, backtrace=True)

options = self.bypass_all
with self.assertRaises(exns.SuccessMessage):
Expand Down

0 comments on commit 7b7d227

Please sign in to comment.