Exemple #1
0
    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)
Exemple #2
0
 def __init__(self, ctx):
     self.ctx = ctx
     self.err = errhandler.Errors(ctx)
Exemple #3
0
 def __init__(self, ctx):
     self.ctx = ctx
     self.imp = cvsimport.Importer(ctx)
     self.exp = gitexport.Exporter(ctx)
     self.err = errhandler.Errors(ctx)