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
22
33on :
44 push :
Original file line number Diff line number Diff line change 1414
1515_MAJOR = "0"
1616_MINOR = "3"
17- _REVISION = "0.dev1 "
17+ _REVISION = "0.dev2 "
1818
1919VERSION_SHORT = "{0}.{1}" .format (_MAJOR , _MINOR )
2020VERSION = "{0}.{1}.{2}" .format (_MAJOR , _MINOR , _REVISION )
Original file line number Diff line number Diff line change 1515Unit tests for data store related operations.
1616"""
1717
18+ import os
1819import logging
1920import unittest
2021import copy
@@ -1277,7 +1278,10 @@ def test_check_onto_file(self):
12771278 "parent_class" : {"ft.onto.test.EntityMention" },
12781279 }
12791280 }
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+ )))
12811285 # Check whether `_type_attributes` contains all items in `expected_type_attributes`
12821286 union_dict : Dict = dict (data_store_from_file ._type_attributes , ** expected_type_attributes )
12831287 self .assertDictEqual (data_store_from_file ._type_attributes , union_dict )
You can’t perform that action at this time.
0 commit comments