def setUp(self): appConfig = StringIO(''' [import] [global] ''') repConfig = StringIO(''' [repo1] ''') self.ctx = context.Context(appConfig, repConfig) self.ctx.logs['repo1'] = mock.Mock() self.err = errhandler.Errors(self.ctx)
def __init__(self, ctx): self.ctx = ctx self.err = errhandler.Errors(ctx)
def __init__(self, ctx): self.ctx = ctx self.imp = cvsimport.Importer(ctx) self.exp = gitexport.Exporter(ctx) self.err = errhandler.Errors(ctx)