MCPcopy
hub / github.com/gitless-vcs/gitless / assert_not_in_repo

Method assert_not_in_repo

gitless/tests/test_e2e.py:58–61  ·  view source on GitHub ↗
(*cmds)

Source from the content-addressed store, hash-verified

56
57 def test_not_in_repo(self):
58 def assert_not_in_repo(*cmds):
59 for cmd in cmds:
60 self.assertRaisesRegexp(
61 ErrorReturnCode, 'not in a Gitless\'s repository', cmd)
62
63 assert_not_in_repo(
64 gl.status, gl.diff, gl.commit, gl.branch, gl.merge, gl.fuse, gl.remote,

Callers

nothing calls this directly

Calls 1

assertRaisesRegexpMethod · 0.80

Tested by

no test coverage detected