예제 #1
0
 def __init__(self, completer, ctx, shell):
     """Takes instance of xonsh.completer.Completer, the xonsh execution
     context, and the shell instance itself.
     """
     self.completer = completer
     self.ctx = ctx
     self.shell = shell
     self.completer_gitsome = CompleterGitsome()
예제 #2
0
 def __init__(self, completer, ctx):
     """Takes instance of xonsh.completer.Completer and dict with context."""
     self.completer = completer
     self.completer_gitsome = CompleterGitsome()
     self.ctx = ctx
예제 #3
0
 def setUp(self):
     self.completer = CompleterGitsome()
     self.completer_event = self.create_completer_event()