Skip to content

Commit 766b03b

Browse files
committed
update unittest
1 parent bc650c2 commit 766b03b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/tools/test_process_data.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ def tearDown(self):
2323
shutil.rmtree(self.tmp_dir)
2424

2525
def _test_status_code(self, yaml_file, output_path, text_keys):
26-
data_path = 'demos/data/demo-dataset.jsonl'
26+
data_path = osp.join(osp.dirname(osp.dirname(osp.dirname(osp.realpath(__file__)))),
27+
'demos', 'data', 'demo-dataset.jsonl')
2728
yaml_config = {
2829
'dataset_path': data_path,
2930
'text_keys': text_keys,

0 commit comments

Comments
 (0)