File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
- name : PYPI
1
+ name : TESTPYPI
2
2
3
3
on :
4
4
push :
Original file line number Diff line number Diff line change 14
14
15
15
_MAJOR = "0"
16
16
_MINOR = "3"
17
- _REVISION = "0.dev1 "
17
+ _REVISION = "0.dev2 "
18
18
19
19
VERSION_SHORT = "{0}.{1}" .format (_MAJOR , _MINOR )
20
20
VERSION = "{0}.{1}.{2}" .format (_MAJOR , _MINOR , _REVISION )
Original file line number Diff line number Diff line change 15
15
Unit tests for data store related operations.
16
16
"""
17
17
18
+ import os
18
19
import logging
19
20
import unittest
20
21
import copy
@@ -1277,7 +1278,10 @@ def test_check_onto_file(self):
1277
1278
"parent_class" : {"ft.onto.test.EntityMention" },
1278
1279
}
1279
1280
}
1280
- data_store_from_file = DataStore (onto_file_path = "tests/forte/data/ontology/test_specs/test_check_onto_file.json" )
1281
+ data_store_from_file = DataStore (onto_file_path = os .path .abspath (os .path .join (
1282
+ os .path .dirname (os .path .abspath (__file__ )),
1283
+ "ontology/test_specs/test_check_onto_file.json"
1284
+ )))
1281
1285
# Check whether `_type_attributes` contains all items in `expected_type_attributes`
1282
1286
union_dict : Dict = dict (data_store_from_file ._type_attributes , ** expected_type_attributes )
1283
1287
self .assertDictEqual (data_store_from_file ._type_attributes , union_dict )
You can’t perform that action at this time.
0 commit comments