def setUp(self): super(TwoModulesTestCase, self).setUp() self.foo_branch = mock.Branch(os.path.join(self.config.buildroot, 'nonexistent-foo')) self.modules = [mock.MockModule('foo', branch=self.foo_branch), mock.MockModule('bar', branch=self.branch)] self.modules[0].config = self.config self.modules[1].config = self.config
def setUp(self): super(BuildTestCase, self).setUp() self.branch = mock.Branch(os.path.join(self.config.buildroot, 'nonexistent')) self.branch.config = self.config self.packagedb = None self.buildscript = None self.moduleset = None os.environ['JHBUILD_PREFIX'] = self.config.prefix
def setUp(self): BuildTestCase.setUp(self) self.foo_branch = mock.Branch() self.modules = [ AutogenModule('foo', self.foo_branch), AutogenModule('bar', self.branch) ] self.modules[0].config = self.config self.modules[1].config = self.config
def setUp(self): self.config = mock.Config() self.branch = mock.Branch() self.branch.config = self.config self.buildscript = None