tests: Clear /tmp/cloud-build before running tests
This commit is contained in:
parent
e8130b4a17
commit
f61cb02e94
@ -47,6 +47,7 @@ class TestIntegrationImages(TestCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
cls.work_dir = Path('/tmp/cloud-build')
|
||||
shutil.rmtree(cls.work_dir, ignore_errors=True)
|
||||
os.makedirs(cls.work_dir / 'external_files/p9/x86_64', exist_ok=True)
|
||||
(cls.work_dir / 'external_files/p9/x86_64/README').write_text('README')
|
||||
config = cls.work_dir / 'config.yaml'
|
||||
|
Loading…
Reference in New Issue
Block a user