Skip to content

Commit 760ada8

Browse files
committed
test for synthetic for kt
1 parent a340bae commit 760ada8

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

tests/conftest.py

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"http://base.ustc.edu.cn/data/tests/",
1212
"junyi":
1313
"http://base.ustc.edu.cn/data/tests/junyi/",
14+
"synthetic":
15+
"http://base.ustc.edu.cn/data/tests/synthetic",
1416
}
1517

1618
get_data = functools.partial(get_data, url_dict=test_url_dict)

tests/test_synthetic.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# coding: utf-8
2+
# 2019/12/6 @ tongshiwei
3+
4+
from EduData.DataSet.synthetic import transfer_synthetic_dataset
5+
from longling import path_append
6+
7+
8+
def test_synthetic_kt(shared_data_dir):
9+
src_dir = path_append(shared_data_dir, "synthetic", to_str=True)
10+
tar_dir = src_dir
11+
transfer_synthetic_dataset(src_dir, tar_dir)

0 commit comments

Comments
 (0)