Skip to content

Commit 1ea92a1

Browse files
committed
raise error if src dir is not present at expected location
1 parent 29865d7 commit 1ea92a1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: qiita_db/environment_manager.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,7 @@ def create_mountpoints():
142142
for (ddid, subdir) in qdb.util.get_mountpoint(mountpoint,
143143
retrieve_all=True):
144144
if not exists(join(qiita_config.base_data_dir, subdir)):
145-
if qiita_config.test_environment and \
146-
exists(get_support_file('test_data', subdir)):
145+
if qiita_config.test_environment:
147146
# if in test mode, we want to potentially fill the
148147
# new directory with according test data
149148
copytree(get_support_file('test_data', subdir),

0 commit comments

Comments
 (0)