mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
tests - force removing directories with AutoconfTest
This commit is contained in:
parent
da2f6cb4f4
commit
0ee09d47da
1 changed files with 2 additions and 0 deletions
|
|
@ -92,6 +92,8 @@ class AutoconfTest(Test) :
|
|||
if isdir(example_data) :
|
||||
for cp_dir in listdir(example_data) :
|
||||
if isdir(join(example_data, cp_dir)) :
|
||||
if isdir(join("/tmp/bw-data", cp_dir)) :
|
||||
run("sudo rm -rf " + join("/tmp/bw-data", cp_dir), shell=True)
|
||||
copytree(join(example_data, cp_dir), join("/tmp/bw-data", cp_dir))
|
||||
proc = run("docker-compose -f autoconf.yml pull", shell=True, cwd=test)
|
||||
if proc.returncode != 0 :
|
||||
|
|
|
|||
Loading…
Reference in a new issue