Implemented SheerkaOntology
This commit is contained in:
+25
-4
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user