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

Method test_create

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

Source from the content-addressed store, hash-verified

280 gl.commit('f', m='commit')
281
282 def test_create(self):
283 gl.branch(c=self.BRANCH_1)
284 self.assertRaises(ErrorReturnCode, gl.branch, c=self.BRANCH_1)
285 self.assertRaises(ErrorReturnCode, gl.branch, c='evil*named*branch')
286 if self.BRANCH_1 not in utils.stdout(gl.branch()):
287 self.fail()
288
289 def test_remove(self):
290 gl.branch(c=self.BRANCH_1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected