Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Communications Backbone System
backbone-adapter-testsuite
Commits
670204fe
Unverified
Commit
670204fe
authored
2 years ago
by
Dan Jones
Browse files
Options
Download
Email Patches
Plain Diff
fix: remove old fixtures/features before copy
copytree fails if destination already exists
parent
1fd8622a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
copy_tests.py
copy_tests.py
+2
-1
No files found.
copy_tests.py
View file @
670204fe
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
))
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment