Exemplo n.º 1
0
 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()
Exemplo n.º 2
0
 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()
Exemplo n.º 3
0
 def setUp(self):
     super(TestCore, self).setUp('gl-core-test')
     git.init()
     utils_lib.set_test_config()
     self.repo = core.Repository()
Exemplo n.º 4
0
 def setUp(self):
   super(TestEndToEnd, self).setUp('gl-e2e-test')
   gl.init()
   git.config('color.ui', False)
   utils.set_test_config()
Exemplo n.º 5
0
 def setUp(self):
   super(TestEndToEnd, self).setUp('gl-e2e-test')
   gl.init()
   git.config('color.ui', False)
   utils.set_test_config()
Exemplo n.º 6
0
 def setUp(self):
   super(TestCore, self).setUp('gl-core-test')
   git.init()
   utils_lib.set_test_config()
   self.repo = core.Repository()