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

Method setUp

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

Source from the content-addressed store, hash-verified

33class TestEndToEnd(utils.TestBase):
34
35 def setUp(self):
36 super(TestEndToEnd, self).setUp('gl-e2e-test')
37 gl.init()
38 # Disable colored output so that we don't need to worry about ANSI escape
39 # codes
40 git.config('color.ui', False)
41 # Disable paging so that we don't have to use sh's _tty_out option, which is
42 # not available on pbs
43 if sys.platform != 'win32':
44 git.config('core.pager', 'cat')
45 else:
46 # On Windows, we need to call 'type' through cmd.exe (with 'cmd'). The /C
47 # is so that the command window gets closed after 'type' finishes
48 git.config('core.pager', 'cmd /C type')
49 utils.set_test_config()
50
51
52class TestNotInRepo(utils.TestBase):

Callers

nothing calls this directly

Calls 1

setUpMethod · 0.45

Tested by

no test coverage detected