mirror of https://github.com/tLDP/python-tldp
support the config.builddir in the testing suite
This commit is contained in:
parent
29674dd7f0
commit
0ff6dc5594
|
@ -133,8 +133,9 @@ class TestInventoryBase(unittest.TestCase):
|
|||
self.config, _ = collectconfiguration('ldptool', [])
|
||||
c = self.config
|
||||
c.pubdir = os.path.join(self.tempdir, 'outputs')
|
||||
c.builddir = os.path.join(self.tempdir, 'builddir')
|
||||
c.sourcedir = os.path.join(self.tempdir, 'sources')
|
||||
for d in (c.sourcedir, c.pubdir):
|
||||
for d in (c.sourcedir, c.pubdir, c.builddir):
|
||||
if not os.path.isdir(d):
|
||||
os.mkdir(d)
|
||||
c.sourcedir = [c.sourcedir]
|
||||
|
|
Loading…
Reference in New Issue