diff --git a/.github/workflows/testpypi.yml b/.github/workflows/testpypi.yml index 9e2eddf5c..f06cc6423 100644 --- a/.github/workflows/testpypi.yml +++ b/.github/workflows/testpypi.yml @@ -1,4 +1,4 @@ -name: PYPI +name: TESTPYPI on: push: diff --git a/forte/version.py b/forte/version.py index ce931a357..7cf4996ff 100644 --- a/forte/version.py +++ b/forte/version.py @@ -14,7 +14,7 @@ _MAJOR = "0" _MINOR = "3" -_REVISION = "0.dev1" +_REVISION = "0.dev2" VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR) VERSION = "{0}.{1}.{2}".format(_MAJOR, _MINOR, _REVISION) diff --git a/tests/forte/data/data_store_test.py b/tests/forte/data/data_store_test.py index 1783de840..6dde1c92a 100644 --- a/tests/forte/data/data_store_test.py +++ b/tests/forte/data/data_store_test.py @@ -15,6 +15,7 @@ Unit tests for data store related operations. """ +import os import logging import unittest import copy @@ -1277,7 +1278,10 @@ def test_check_onto_file(self): "parent_class": {"ft.onto.test.EntityMention"}, } } - data_store_from_file = DataStore(onto_file_path="tests/forte/data/ontology/test_specs/test_check_onto_file.json") + data_store_from_file = DataStore(onto_file_path=os.path.abspath(os.path.join( + os.path.dirname(os.path.abspath(__file__)), + "ontology/test_specs/test_check_onto_file.json" + ))) # Check whether `_type_attributes` contains all items in `expected_type_attributes` union_dict: Dict = dict(data_store_from_file._type_attributes, **expected_type_attributes) self.assertDictEqual(data_store_from_file._type_attributes, union_dict)