Test creating, renaming, and deleting a branch using git.branch
(self)
| 240 | |
| 241 | @pytest.mark.slow_test |
| 242 | def test_branch(self): |
| 243 | """ |
| 244 | Test creating, renaming, and deleting a branch using git.branch |
| 245 | """ |
| 246 | renamed_branch = "ihavebeenrenamed" |
| 247 | self.assertTrue(self.run_function("git.branch", [self.repo, self.branches[1]])) |
| 248 | self.assertTrue( |
| 249 | self.run_function( |
| 250 | "git.branch", [self.repo, renamed_branch], opts="-m " + self.branches[1] |
| 251 | ) |
| 252 | ) |
| 253 | self.assertTrue( |
| 254 | self.run_function("git.branch", [self.repo, renamed_branch], opts="-D") |
| 255 | ) |
| 256 | |
| 257 | @pytest.mark.slow_test |
| 258 | def test_checkout(self): |
nothing calls this directly
no test coverage detected