Unverified Commit 670204fe authored by Dan Jones's avatar Dan Jones
Browse files

fix: remove old fixtures/features before copy

copytree fails if destination already exists
parent 1fd8622a
import os
from shutil import copytree
from shutil import copytree, rmtree
import site
def copy_directory(src, dest, directory):
rmtree(os.path.join(dest, directory))
copytree(os.path.join(src, directory), os.path.join(dest, directory))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment