Implemented SheerkaOntology

This commit is contained in:
2021-01-11 15:36:03 +01:00
parent e3c2adb533
commit e26c83a825
119 changed files with 6876 additions and 2002 deletions
+25 -4
View File
@@ -1,12 +1,33 @@
import os
from os import path
import shutil
collect_ignore = [
"setup.py"
]
collect_ignore_glob = [
# "tests/cache/",
# "tests/core/",
#"tests/evaluators/",
# "tests/evaluators/",
# "tests/non_reg/",
#"tests/parsers/",
#"tests/sdp/",
#"tests/sheerkapickle/",
# "tests/out/",
# "tests/parsers/",
# "tests/repl/",
# "tests/sdp/",
# "tests/sheerkapickle/",
]
TESTS_ROOT_FOLDER = path.abspath("../../build/tests")
SHEERKA_TEST_FOLDER = path.join(TESTS_ROOT_FOLDER, "init_folder")
def pytest_sessionstart(session):
"""
Called after the Session object has been created and
before performing collection and entering the run test loop.
"""
if path.exists(TESTS_ROOT_FOLDER):
shutil.rmtree(TESTS_ROOT_FOLDER)
os.makedirs(TESTS_ROOT_FOLDER)