MCPcopy Create free account
hub / github.com/gitless-vcs/gitless / test_remove

Method test_remove

gitless/tests/test_e2e.py:289–298  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

287 self.fail()
288
289 def test_remove(self):
290 gl.branch(c=self.BRANCH_1)
291 gl.switch(self.BRANCH_1)
292 self.assertRaises(ErrorReturnCode, gl.branch, d=self.BRANCH_1, _in='y')
293 gl.branch(c=self.BRANCH_2)
294 gl.switch(self.BRANCH_2)
295 gl.branch(d=self.BRANCH_1, _in='n')
296 gl.branch(d=self.BRANCH_1, _in='y')
297 if self.BRANCH_1 in utils.stdout(gl.branch()):
298 self.fail()
299
300 def test_upstream(self):
301 self.assertRaises(ErrorReturnCode, gl.branch, '-uu')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected