(self)
| 310 | self.MakeStep().PrepareBranch() |
| 311 | |
| 312 | def testCommonPrepareNoConfirm(self): |
| 313 | self.Expect([ |
| 314 | Cmd("git status -s -uno", ""), |
| 315 | Cmd("git checkout -f origin/main", ""), |
| 316 | Cmd("git fetch", ""), |
| 317 | Cmd("git branch", " branch1\n* %s" % TEST_CONFIG["BRANCHNAME"]), |
| 318 | RL("n"), |
| 319 | ]) |
| 320 | self.MakeStep().CommonPrepare() |
| 321 | self.assertRaises(Exception, self.MakeStep().PrepareBranch) |
| 322 | |
| 323 | def testCommonPrepareDeleteBranchFailure(self): |
| 324 | self.Expect([ |
nothing calls this directly
no test coverage detected