コード例 #1
0
ファイル: test_e2e.py プロジェクト: youngkai1/gitless-1
 def setUp(self):
     super(TestEndToEnd, self).setUp('gl-e2e-test')
     gl.init()
     # Disable colored output so that we don't need to worry about ANSI escape
     # codes
     git.config('color.ui', False)
     # Disable paging so that we don't have to use sh's _tty_out option, which is
     # not available on pbs
     if sys.platform != 'win32':
         git.config('core.pager', 'cat')
     else:
         # On Windows, we need to call 'type' through cmd.exe (with 'cmd'). The /C
         # is so that the command window gets closed after 'type' finishes
         git.config('core.pager', 'cmd /C type')
     utils.set_test_config()
コード例 #2
0
ファイル: test_e2e.py プロジェクト: imoapps/gitless
 def setUp(self):
   super(TestEndToEnd, self).setUp('gl-e2e-test')
   gl.init()
   git.config('color.ui', False)
   utils.set_test_config()
コード例 #3
0
 def setUp(self):
   super(TestEndToEnd, self).setUp('gl-e2e-test')
   gl.init()
   git.config('color.ui', False)
   utils.set_test_config()